diff options
Diffstat (limited to 'webchat/index.js')
-rw-r--r-- | webchat/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webchat/index.js b/webchat/index.js index d9d7ea87..52f41d1c 100644 --- a/webchat/index.js +++ b/webchat/index.js @@ -118,7 +118,7 @@ echo.on('connection', function(conn) { if (!command || typeof command !== 'object') { command = {} } - return (serverCommands[command.method] || serverCommands.badcommand)(serverstate, settings, command.params) + return (serverCommands[command.method] || serverCommands.badcommand)(serverstate, settings, command.params, command.id) }); conn.on('close', function() { //propagate if client quits the page clients.splice(clients.indexOf(conn)); |