mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 08:02:13 +02:00
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:
parent
e9c3a217e3
commit
6f45115b5e
7 changed files with 389 additions and 401 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue