aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/commands/mod
diff options
context:
space:
mode:
authormarzavec <admin@marzavec.com>2020-03-06 22:21:27 +0100
committerGitHub <noreply@github.com>2020-03-06 22:21:27 +0100
commitd784de1bb87a6013bd2f4353e6786af278ce0ff7 (patch)
treeddbe406d7c51e1f121fe16d91857c22e4fec4f4c /server/src/commands/mod
parentComments fix (diff)
parentReword actions which are restricted on using against users of same level (diff)
downloadhackchat-d784de1bb87a6013bd2f4353e6786af278ce0ff7.tar.gz
hackchat-d784de1bb87a6013bd2f4353e6786af278ce0ff7.zip
Merge pull request #91 from MinusGix/levelRewording
Reword actions which are restricted on using against users of same level
Diffstat (limited to 'server/src/commands/mod')
-rw-r--r--server/src/commands/mod/ban.js2
-rw-r--r--server/src/commands/mod/dumb.js2
-rw-r--r--server/src/commands/mod/kick.js2
-rw-r--r--server/src/commands/mod/moveuser.js2
4 files changed, 4 insertions, 4 deletions
diff --git a/server/src/commands/mod/ban.js b/server/src/commands/mod/ban.js
index abc02d7..e110e78 100644
--- a/server/src/commands/mod/ban.js
+++ b/server/src/commands/mod/ban.js
@@ -33,7 +33,7 @@ export async function run(core, server, socket, data) {
if (badClient.level >= socket.level) {
return server.reply({
cmd: 'warn',
- text: 'Cannot ban other mods, how rude',
+ text: 'Cannot ban other users of the same level, how rude',
}, socket);
}
diff --git a/server/src/commands/mod/dumb.js b/server/src/commands/mod/dumb.js
index 125660c..944f8c6 100644
--- a/server/src/commands/mod/dumb.js
+++ b/server/src/commands/mod/dumb.js
@@ -40,7 +40,7 @@ export async function run(core, server, socket, data) {
if (badClient.level >= socket.level) {
return server.reply({
cmd: 'warn',
- text: 'This trick wont work on mods and admin',
+ text: 'This trick wont work on users of the same level',
}, socket);
}
diff --git a/server/src/commands/mod/kick.js b/server/src/commands/mod/kick.js
index ec5696b..35fd2df 100644
--- a/server/src/commands/mod/kick.js
+++ b/server/src/commands/mod/kick.js
@@ -41,7 +41,7 @@ export async function run(core, server, socket, data) {
if (badClients[i].level >= socket.level) {
server.reply({
cmd: 'warn',
- text: 'Cannot kick other mods, how rude',
+ text: 'Cannot kick other users with the same level, how rude',
}, socket);
} else {
kicked.push(badClients[i]);
diff --git a/server/src/commands/mod/moveuser.js b/server/src/commands/mod/moveuser.js
index 6b25d07..4b5d52c 100644
--- a/server/src/commands/mod/moveuser.js
+++ b/server/src/commands/mod/moveuser.js
@@ -35,7 +35,7 @@ export async function run(core, server, socket, data) {
if (badClient.level >= socket.level) {
return server.reply({
cmd: 'warn',
- text: 'Cannot move other mods, how rude',
+ text: 'Cannot move other users of the same level, how rude',
}, socket);
}