change emit

This commit is contained in:
jed
2012-11-29 17:31:19 -08:00
parent 1f0aa8f56c
commit 07cbb4a4f4

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;
}
}