diff options
-rw-r--r-- | webcastor.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webcastor.js b/webcastor.js index aebadb5..afbfcd4 100644 --- a/webcastor.js +++ b/webcastor.js | |||
@@ -205,8 +205,8 @@ var Server = { | |||
205 | return; | 205 | return; |
206 | } | 206 | } |
207 | 207 | ||
208 | console.log('Broadcasting ' + JSONmessage + ' (' + messageSize + ' bytes)'); | 208 | console.log('Broadcasting ' + JSONmessage + ' (' + messageSize + ' bytes) on channel ' + channel); |
209 | socket.broadcast.to(channel).emit(event.name, event.args); | 209 | socket.broadcast.to(channel).send(event); |
210 | }, | 210 | }, |
211 | }; | 211 | }; |
212 | 212 | ||