Server: noop RPL_WHOREPLY and RPL_ENDOFWHO commands for the time being
authorDarren <darren@darrenwhitlen.com>
Mon, 11 Nov 2013 22:41:10 +0000 (22:41 +0000)
committerDarren <darren@darrenwhitlen.com>
Mon, 11 Nov 2013 22:41:10 +0000 (22:41 +0000)
server/irc/commands.js

index da8a77ce5178f4ccac947602e6120209c11b22f8..3882d3da5781802dea54a41c5f5223c7f83c37cd 100644 (file)
@@ -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],