Merge branch 'express-logger-0.0.7-fixes' of http://github.com/adarqui/NodeBB into adarqui

This commit is contained in:
Julian Lam
2013-10-05 22:36:41 -04:00

View File

@@ -139,10 +139,10 @@ var opts = {
for(var v in clients) {
var client = clients[v];
if(client.oEmit != client.emit)
if(client.oEmit != undefined && client.oEmit != client.emit)
client.emit = client.oEmit;
if(client.$oEmit != client.$emit)
if(client.$oEmit != undefined && client.$oEmit != client.$emit)
client.$emit = client.$oEmit;
}
}