Fixed handling WHOIS printing once and for all. Everything unknown between

"beginning of whois" and "end of whois" events is now printed as
whois_special. Removed whois_registered and whois_help, they're printed with
whois_special as well.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3263 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2004-07-11 15:42:21 +00:00 committed by cras
commit 6f45115b5e
7 changed files with 389 additions and 401 deletions

View file

@ -405,13 +405,15 @@ static void cmd_whois(const char *data, IRC_SERVER_REC *server,
"event 402", event_402,
"event 301", "whois away", /* 301 can come as a reply to /MSG, /WHOIS or /WHOWAS */
"event 401", "whois not found",
"event 311", "whois event", NULL);
"event 311", "whois event",
"", "whois default event", NULL);
} else {
server_redirect_event(server, "whois", 1, str, TRUE,
NULL,
"event 318", "whois end",
"event 301", "whois away", /* 301 can come as a reply to /MSG, /WHOIS or /WHOWAS */
"event 311", "whois event", NULL);
"event 311", "whois event",
"", "whois default event", NULL);
}
g_free(str);