summaryrefslogtreecommitdiffstats
path: root/webchat/serverCommands.js
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-11-11 18:31:04 +0100
committerlassulus <lassulus@googlemail.com>2013-11-11 18:31:04 +0100
commit2be3c286f5151ca319700dd4bd7c6d16cec6c2c4 (patch)
treea37cf8a8214b50dfab5174b58a1acdb97a4a5065 /webchat/serverCommands.js
parent27f21424befaf1d10877d53d9754c88b43f42903 (diff)
webchat: cleanup code
Diffstat (limited to 'webchat/serverCommands.js')
-rw-r--r--webchat/serverCommands.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/webchat/serverCommands.js b/webchat/serverCommands.js
index 8f2875b9..0443bc91 100644
--- a/webchat/serverCommands.js
+++ b/webchat/serverCommands.js
@@ -7,8 +7,6 @@ serverCommands.say = function (settings, params) {
params.nick = nick
irc_client.say("#krebs", nick + ' → ' + message);
return clients.notifyAll('message', params)
-// return clients.broadcast({ method: 'message', params: params })
-
}
serverCommands.nick = function (settings, params) {
@@ -16,7 +14,6 @@ serverCommands.nick = function (settings, params) {
var newnick = params.nick
settings.nick = newnick
return clients.notifyAll('nickchange', { nick: oldnick, newnick: newnick });
-// return clients.broadcast({ method: 'nickchange', params: { nick: oldnick, newnick: newnick }})
}
serverCommands.badcommand = function (settings, params) {