diff options
| author | Ben Beltran <ben@freshout.us> | 2013-04-24 08:46:28 -0500 |
|---|---|---|
| committer | Ben Beltran <ben@freshout.us> | 2013-04-24 08:46:28 -0500 |
| commit | c35e454310676fa3fca931bdb5c4e56a01775ef4 (patch) | |
| tree | 19d00977f9cd10a01efff0b5bfd287dc4f934a4f /lib/ext | |
| parent | 9f9564be72fe27b823713f6e104343c4affadb42 (diff) | |
New changes from nitro
Diffstat (limited to 'lib/ext')
| -rw-r--r-- | lib/ext/socket_helper.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ext/socket_helper.js b/lib/ext/socket_helper.js index 661d435..50fe5bc 100644 --- a/lib/ext/socket_helper.js +++ b/lib/ext/socket_helper.js @@ -1,6 +1,6 @@ var bindEvents = function (socket, logger) { - socket.on('log', function (logObject) { - logger.log(logObject); + socket.on('log', function (logArgs) { + logger.log.apply(logger, logArgs); }); } |