var opername = params[2];
return this.whois(nick, "opername", {opername: params[2]});
- },
+ },
+ irc_RPL_WHOISGENERICTEXT: function(prefix, params) {
+ var nick = params[1];
+ var text = params.indexFromEnd(-1);
+
+ return this.whois(nick, "generictext", {text: text});
+ },
irc_RPL_ENDOFWHOIS: function(prefix, params) {
var nick = params[1];
var text = params.indexFromEnd(-1);
mtype = "ACTUALLY";
ndata.m = data.hostname;
ndata.x = data.ip;
+ } else if(type == "generictext") {
+ mtype = "GENERICTEXT";
+ ndata.m = data.text;
} else if(type == "end") {
mtype = "END";
} else {
"330": "RPL_WHOISACCOUNT",
"338": "RPL_WHOISACTUALLY",
"343": "RPL_WHOISOPERNAME",
+ "320": "RPL_WHOISGENERICTEXT",
"301": "RPL_AWAY",
"401": "ERR_NOSUCHNICK",
"404": "ERR_CANNOTSENDTOCHAN",
"WHOISOPER": [" : $BIRC Operator$B", true],
"WHOISOPERNAME": [" operedas : $m", true],
"WHOISACTUALLY": [" realhost : $m [ip: $x]", true],
+ "WHOISGENERICTEXT": [" : $m", true],
"WHOISEND": ["End of WHOIS", true],
"AWAY": ["$N is away: $m", true],
"GENERICERROR": ["$m: $t", true],