aboutsummaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
authorMinusGix <MinusGix@gmail.com>2020-03-06 22:17:43 +0100
committerMinusGix <MinusGix@gmail.com>2020-03-06 22:17:43 +0100
commit8987cca8484ebb5d8ac3214acbfdab630cf2f29d (patch)
tree26e2750748b82c29080ca5a2c27b875e3c8bd65c /server/src
parentMinor UAC tweaks (diff)
downloadhackchat-8987cca8484ebb5d8ac3214acbfdab630cf2f29d.tar.gz
hackchat-8987cca8484ebb5d8ac3214acbfdab630cf2f29d.zip
Reword actions which are restricted on using against users of same level
Diffstat (limited to 'server/src')
-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);
}