mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 23:22:16 +02:00
Removed whois_coming-flag which was used to figure out if 301 event
should be printed as whois-message or normal "nick is away" message. Server redirections are used for that now. Some servers also send 301 event in /WHOWAS reply, this works now as well. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2104 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
725a66df7f
commit
1efdf062c6
4 changed files with 36 additions and 29 deletions
|
|
@ -388,6 +388,7 @@ static void cmd_whois(const char *data, IRC_SERVER_REC *server,
|
|||
NULL,
|
||||
"event 318", "whois end",
|
||||
"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);
|
||||
g_free(str);
|
||||
|
|
@ -453,6 +454,7 @@ static void cmd_whowas(const char *data, IRC_SERVER_REC *server)
|
|||
|
||||
nicks_redir = get_redirect_nicklist(nicks, &free_nick);
|
||||
server_redirect_event(server, "whowas", 1, nicks_redir, -1, NULL,
|
||||
"event 301", "whowas away", /* 301 can come as a reply to /MSG, /WHOIS or /WHOWAS */
|
||||
"event 314", "whowas event", NULL);
|
||||
if (free_nick) g_free(nicks_redir);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue