From 0efac764f6510a3c86b102e53ffa27998343c79e Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 18 Nov 2007 21:21:51 +0000 Subject: Pass through (redirect) WHOWAS reply to proxy clients. Bug #490 (patch from Alex Schumann) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4644 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/proxy/listen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/irc') diff --git a/src/irc/proxy/listen.c b/src/irc/proxy/listen.c index bab08421..7ad358ce 100644 --- a/src/irc/proxy/listen.c +++ b/src/irc/proxy/listen.c @@ -200,6 +200,8 @@ static void handle_client_cmd(CLIENT_REC *client, char *cmd, char *args, /* check if the command could be redirected */ if (strcmp(cmd, "WHO") == 0) grab_who(client, args); + else if (strcmp(cmd, "WHOWAS") == 0) + proxy_redirect_event(client, "whowas", 1, args, -1); else if (strcmp(cmd, "WHOIS") == 0) { char *p; -- cgit v1.2.3