1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

Accept 354 (WHOX reply) as a /who reply too (for redirection).

Ignore the parameters for matching because 354 does
not have a fixed format.

This helps irssi-proxy with clients that use WHOX,
such as xchat (away checking). WHOX works on ircu
and charybdis 3.1 servers.

Bug #671


git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5064 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Jilles Tjoelker 2009-05-13 19:27:20 +00:00 committed by jilles
parent aa80487c1e
commit 48e87773f0

View File

@ -660,7 +660,8 @@ void servers_redirect_init(void)
/* WHO */ /* WHO */
server_redirect_register("who", FALSE, 0, server_redirect_register("who", FALSE, 0,
"event 352", 1, /* Begins the WHO */ "event 352", 1, /* An element of the WHO */
"event 354", -1, /* WHOX element */
"event 401", 1, /* No such nick/channel */ "event 401", 1, /* No such nick/channel */
NULL, NULL,
"event 315", 1, /* End of WHO */ "event 315", 1, /* End of WHO */