aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/serverLib
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2020-04-29 17:06:36 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2020-04-29 17:06:36 +0200
commiteb528b7ac965d859811ba4e393ae6936f93d555c (patch)
treeb55450d30995fccfba8b74cedb91cde47cbd51c3 /server/src/serverLib
parentprint ip to debug (diff)
downloadhackchat-eb528b7ac965d859811ba4e393ae6936f93d555c.tar.gz
hackchat-eb528b7ac965d859811ba4e393ae6936f93d555c.zip
typo
Diffstat (limited to '')
-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 18f111d..b463ede 100644
--- a/server/src/serverLib/MainServer.js
+++ b/server/src/serverLib/MainServer.js
@@ -154,7 +154,7 @@ class MainServer extends WsServer {
handleData(socket, data) {
// Don't penalize yet, but check whether IP is rate-limited
console.log(socket.address)
- console.error(socker.address)
+ console.error(socket.address)
if (this.police.frisk(socket.address, 0) && socket.address != "::ffff:172.18.0.1") {
this.core.commands.handleCommand(this, socket, {
cmd: 'socketreply',