aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2020-04-24 22:01:35 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2020-04-24 22:01:35 +0200
commit7a25515b366b4b12ca9f9e4988b3d513a0745e4a (patch)
treea4c7d78d340879ce5a9ad35075d19d2429e3f101
parentfix mod not rate limited (diff)
downloadhackchat-7a25515b366b4b12ca9f9e4988b3d513a0745e4a.tar.gz
hackchat-7a25515b366b4b12ca9f9e4988b3d513a0745e4a.zip
typo
-rw-r--r--server/src/serverLib/MainServer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/serverLib/MainServer.js b/server/src/serverLib/MainServer.js
index d8ea6ea..e2f62a5 100644
--- a/server/src/serverLib/MainServer.js
+++ b/server/src/serverLib/MainServer.js
@@ -164,7 +164,7 @@ class MainServer extends WsServer {
}
// Penalize here, but don't do anything about it
- if (!socker.mod) {
+ if (!socket.mod) {
this.police.frisk(socket.address, 1);
}