show message name, fix template name overwrite

This commit is contained in:
barisusakli
2014-11-19 22:41:16 -05:00
parent 9eb8924bf2
commit 6012223b81
2 changed files with 3 additions and 2 deletions

View File

@@ -201,7 +201,7 @@ Sockets.init = function(server) {
}
if (ratelimit.isFlooding(socket)) {
winston.warn('[socket.io] Too many emits! Disconnecting ' + socket.uid);
winston.warn('[socket.io] Too many emits! Disconnecting uid : ' + socket.uid + '. Message : ' + payload.name);
return socket.disconnect();
}