return this.whois(nick, "end", {});
},
+ irc_ERR_NOSUCHNICK: function(prefix, params) {
+ var nick = params[1];
+
+ return this.whois(nick, "nosuchnick", {});
+ },
irc_RPL_AWAY: function(prefix, params) {
var nick = params[1];
var text = params.indexFromEnd(-1);
ndata.x = data.ip;
} else if(type == "end") {
mtype = "END";
+ } else if(type == "nosuchnick") {
+ mtype = "NOSUCHNICK";
} else {
return false;
}
"330": "RPL_WHOISACCOUNT",
"338": "RPL_WHOISACTUALLY",
"343": "RPL_WHOISOPERNAME",
- "301": "RPL_AWAY"
+ "301": "RPL_AWAY",
+ "401": "ERR_NOSUCHNICK"
};
"WHOISOPERNAME": [" operedas : $m", true],
"WHOISACTUALLY": [" realhost : $m [ip: $x]", true],
"WHOISEND": ["End of WHOIS", true],
- "AWAY": ["$n is away: $m", true]
+ "AWAY": ["$n is away: $m", true],
+ "WHOISNOSUCHNICK": ["No such nick: $n", true]
};
qwebirc.ui.Theme = new Class({