diff options
author | lassulus <lassulus@googlemail.com> | 2013-11-11 20:16:45 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2013-11-11 20:16:45 +0100 |
commit | c6a7cd9027150fca42500b3bbc78be01993856f6 (patch) | |
tree | 0fbf009f8cbec49087f1621553a5fa4e92ce16dd /webchat/index.js | |
parent | 52ee854fa72607eb00229f5c251393ac392fd4f8 (diff) |
webchat: request handling
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)); |