From c6a7cd9027150fca42500b3bbc78be01993856f6 Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 11 Nov 2013 20:16:45 +0100 Subject: webchat: request handling --- webchat/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webchat/index.js') 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)); -- cgit v1.2.3