From 48e87773f0034b0da3aa233d32e349559b8963b5 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Wed, 13 May 2009 19:27:20 +0000 Subject: [PATCH] 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 --- src/irc/core/servers-redirect.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */