'266': 'RPL_GLOBALUSERS',
'301': 'RPL_AWAY',
'307': 'RPL_WHOISREGNICK',
+ '310': 'RPL_WHOIHELPOP',
'311': 'RPL_WHOISUSER',
'312': 'RPL_WHOISSERVER',
'313': 'RPL_WHOISOPERATOR',
'331': 'RPL_NOTOPIC',
'332': 'RPL_TOPIC',
'333': 'RPL_TOPICWHOTIME',
+ '335': 'RPL_WHOISBOT',
'341': 'RPL_INVITING',
'352': 'RPL_WHOREPLY',
'353': 'RPL_NAMEREPLY',
});
},
+ 'RPL_WHOISHELPOP': function (command) {
+ this.irc_connection.emit('user ' + command.params[1] + ' whoishelpop', {
+ nick: command.params[1],
+ msg: command.params[command.params.length - 1]
+ });
+ },
+
+ 'RPL_WHOISBOT': function (command) {
+ this.irc_connection.emit('user ' + command.params[1] + ' whoisbot', {
+ nick: command.params[1],
+ msg: command.params[command.params.length - 1]
+ });
+ },
+
'RPL_WHOISSERVER': function (command) {
this.irc_connection.emit('user ' + command.params[1] + ' whoisserver', {
nick: command.params[1],
whoishost: onWhoisHost,\r
whoissecure: onWhoisSecure,\r
whoisaccount: onWhoisAccount,\r
+ whoishelpop: onWhoisHelpOp,\r
+ whoisbot: onWhoisBot,\r
endofwhois: onWhoisEnd,\r
whowas: onWhoWas,\r
endofwhowas: onWhoWasEnd,\r
});\r
}\r
\r
+function onWhoisHelpOp(event) {\r
+ this.irc_connection.clientEvent('whois', {\r
+ nick: event.nick,\r
+ msg: event.msg,\r
+ end: false\r
+ });\r
+}\r
+\r
+function onWhoisBot(event) {\r
+ this.irc_connection.clientEvent('whois', {\r
+ nick: event.nick,\r
+ msg: event.msg,\r
+ end: false\r
+ });\r
+}\r
+\r
function onWhoisEnd(event) {\r
this.irc_connection.clientEvent('whois', {\r
nick: event.nick,\r