change emit

This commit is contained in:
jed
2012-11-29 17:31:19 -08:00
committed by Stefan Thomas
parent 1771207f7c
commit 40a4ae1e8d

View File

@@ -488,7 +488,7 @@ Remote.prototype._connect_message = function (ws, json) {
// All other messages
default:
if (this.trace) utils.logObject("remote: "+message.type+": %s", message);
this.emit(message.type, message);
this.emit('net_'+message.type, message);
break;
}
}