From b4f0a08547a5993640cf515f9f863cf33581969b Mon Sep 17 00:00:00 2001 From: KiwiIRC Date: Fri, 25 Apr 2014 15:52:48 +0200 Subject: [PATCH] Added inspircd 396 numeric RPL_HOSTCLOACKING --- server/irc/commands.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/server/irc/commands.js b/server/irc/commands.js index bdf2038..ff86f44 100644 --- a/server/irc/commands.js +++ b/server/irc/commands.js @@ -54,6 +54,7 @@ irc_numerics = { '376': 'RPL_ENDOFMOTD', '378': 'RPL_WHOISHOST', '379': 'RPL_WHOISMODES', + '396': 'RPL_HOSTCLOACKING', '401': 'ERR_NOSUCHNICK', '404': 'ERR_CANNOTSENDTOCHAN', '405': 'ERR_TOOMANYCHANNELS', @@ -983,7 +984,11 @@ handlers = { var params = _.clone(command.params); params.shift(); genericNotice.call(this, command, params.slice(0, -1).join(', ') + ' ' + command.params[command.params.length - 1]); - } + }, + + RPL_HOSTCLOACKING: function (command) { + genericNotice.call(this, command, command.params[1]+' '+command.params[command.params.length - 1]); + }, }; -- 2.25.1