Commit 11a6c414 authored by mercury233's avatar mercury233

disable ban log

parent 4f0a5aeb
......@@ -74,7 +74,7 @@ class Room
else
bannedplayer = {"ip": ip, "time": moment(), "count": 1, "reasons": [reason], "need_tip": true}
Room.players_banned.push(bannedplayer)
log.info("banned", name, ip, reason, bannedplayer.count)
#log.info("banned", name, ip, reason, bannedplayer.count)
return
@find_or_create_by_name: (name, player_ip)->
......
......@@ -105,7 +105,6 @@
};
Room.players_banned.push(bannedplayer);
}
log.info("banned", name, ip, reason, bannedplayer.count);
};
Room.find_or_create_by_name = function(name, player_ip) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment