From 3ab39028dbc2384c8a0e754a18c36d00a935bcfa Mon Sep 17 00:00:00 2001 From: Darren Date: Mon, 11 Nov 2013 22:41:10 +0000 Subject: [PATCH] Server: noop RPL_WHOREPLY and RPL_ENDOFWHO commands for the time being --- server/irc/commands.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/server/irc/commands.js b/server/irc/commands.js index da8a77c..3882d3d 100644 --- a/server/irc/commands.js +++ b/server/irc/commands.js @@ -24,6 +24,7 @@ irc_numerics = { '312': 'RPL_WHOISSERVER', '313': 'RPL_WHOISOPERATOR', '314': 'RPL_WHOWASUSER', + '315': 'RPL_ENDOFWHO', '317': 'RPL_WHOISIDLE', '318': 'RPL_ENDOFWHOIS', '319': 'RPL_WHOISCHANNELS', @@ -35,6 +36,7 @@ irc_numerics = { '332': 'RPL_TOPIC', '333': 'RPL_TOPICWHOTIME', '341': 'RPL_INVITING', + '352': 'RPL_WHOREPLY', '353': 'RPL_NAMEREPLY', '364': 'RPL_LINKS', '365': 'RPL_ENDOFLINKS', @@ -341,6 +343,18 @@ handlers = { }); }, + 'RPL_WHOREPLY': function (command) { + // For the time being, NOOP this command so they don't get passed + // down to the client. Waste of bandwidth since we do not use it yet + // TODO: Impliment RPL_WHOREPLY + }, + + 'RPL_ENDOFWHO': function (command) { + // For the time being, NOOP this command so they don't get passed + // down to the client. Waste of bandwidth since we do not use it yet + // TODO: Impliment RPL_ENDOFWHO + }, + 'RPL_BANLIST': function (command) { this.irc_connection.emit('channel ' + command.params[1] + ' banlist', { channel: command.params[1], -- 2.25.1