summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@irssi.org>2009-05-13 19:27:20 +0000
committerjilles <jilles@dbcabf3a-b0e7-0310-adc4-f8d773084564>2009-05-13 19:27:20 +0000
commit48e87773f0034b0da3aa233d32e349559b8963b5 (patch)
treef983fac58400669dbc8edb4ef5c2f12c5826d48e /src
parentaa80487c1ebfe66adb0e3c2599095e9402d4b805 (diff)
downloadirssi-48e87773f0034b0da3aa233d32e349559b8963b5.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/irc/core/servers-redirect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/irc/core/servers-redirect.c b/src/irc/core/servers-redirect.c
index fb540c3a..3c3c93a6 100644
--- a/src/irc/core/servers-redirect.c
+++ b/src/irc/core/servers-redirect.c
@@ -660,7 +660,8 @@ void servers_redirect_init(void)
/* WHO */
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 */
NULL,
"event 315", 1, /* End of WHO */