mirror of
https://github.com/hack-chat/main.git
synced 2024-03-22 13:20:33 +08:00
Reword actions which are restricted on using against users of same level
This commit is contained in:
parent
da9cbe3dbb
commit
8987cca848
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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]);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user