Merge branch 'marcelchastain-master'

This commit is contained in:
José F. Romaniello 2015-08-31 08:12:18 -03:00
commit 5412e632b2

View File

@ -53,7 +53,8 @@ function noQsMethod(options) {
if (server.$emit) { if (server.$emit) {
server.$emit('authenticated', socket); server.$emit('authenticated', socket);
} else { } else {
server.server.sockets.emit('authenticated', socket); // explicit namespace
server.server.nsps[socket.nsp.name].emit('authenticated', socket);
} }
}; };