aboutsummaryrefslogtreecommitdiffstats
path: root/server/src
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2020-04-26 13:22:53 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2020-04-26 13:22:53 +0200
commit1a857e4dc61620f310eb45802875fce584c8ff4c (patch)
tree441e4dc84cf0fae4a04e5a129943b0484f8ab16a /server/src
parentfixed strange localhost ip (diff)
downloadhackchat-1a857e4dc61620f310eb45802875fce584c8ff4c.tar.gz
hackchat-1a857e4dc61620f310eb45802875fce584c8ff4c.zip
remove logging
Diffstat (limited to 'server/src')
-rw-r--r--server/src/serverLib/MainServer.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/src/serverLib/MainServer.js b/server/src/serverLib/MainServer.js
index b463ede..db027a5 100644
--- a/server/src/serverLib/MainServer.js
+++ b/server/src/serverLib/MainServer.js
@@ -153,8 +153,6 @@ class MainServer extends WsServer {
*/
handleData(socket, data) {
// Don't penalize yet, but check whether IP is rate-limited
- console.log(socket.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',