Add a debug message.

This commit is contained in:
osmarks 2018-09-15 22:08:32 +01:00
parent cd60f3741a
commit aa40ec1285
1 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,8 @@ const commands = {
senderID: ws.ID
};
console.log("Sending", message.data, "on", message.channel, "from", ws.ID);
// Send message to all clients listening on this channel or the wildcard channel.
const sentTo = [];
wss.clients.forEach(client => {