mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
change emit
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user