diff options
Diffstat (limited to 'server/src/commands/core/chat.js')
-rw-r--r-- | server/src/commands/core/chat.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/commands/core/chat.js b/server/src/commands/core/chat.js index 908c205..fad9ea0 100644 --- a/server/src/commands/core/chat.js +++ b/server/src/commands/core/chat.js @@ -33,7 +33,7 @@ export async function run(core, server, socket, data) { // check for spam const score = text.length / 83 / 4; - if (server.police.frisk(socket.address, score)) { + if (server.police.frisk(socket.address, score) && !UAC.isModerator(socket.level)) { return server.reply({ cmd: 'warn', text: 'You are sending too much text. Wait a moment and try again.\nPress the up arrow key to restore your last message.', |