aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/src/serverLib/MainServer.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/serverLib/MainServer.js b/server/src/serverLib/MainServer.js
index 35a0d3e..d8ea6ea 100644
--- a/server/src/serverLib/MainServer.js
+++ b/server/src/serverLib/MainServer.js
@@ -164,7 +164,9 @@ class MainServer extends WsServer {
}
// Penalize here, but don't do anything about it
- this.police.frisk(socket.address, 1);
+ if (!socker.mod) {
+ this.police.frisk(socket.address, 1);
+ }
// Ignore ridiculously large packets
if (data.length > 65536) {