diff options
author | Timo Sirainen <cras@irssi.org> | 2004-07-11 15:42:21 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2004-07-11 15:42:21 +0000 |
commit | 6f45115b5e21d4806c391673ae9afbf54a6bff48 (patch) | |
tree | d7e5eb41af22cc2da0ec336f656a32ebe5224fe1 /src/irc | |
parent | e9c3a217e3149922508c0a80d0eda8a52792d641 (diff) | |
download | irssi-6f45115b5e21d4806c391673ae9afbf54a6bff48.zip |
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
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/core/irc-commands.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/irc/core/irc-commands.c b/src/irc/core/irc-commands.c index d6bc2723..d398a4e7 100644 --- a/src/irc/core/irc-commands.c +++ b/src/irc/core/irc-commands.c @@ -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); |