diff options
author | Jilles Tjoelker <jilles@irssi.org> | 2007-11-18 21:21:51 +0000 |
---|---|---|
committer | jilles <jilles@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2007-11-18 21:21:51 +0000 |
commit | 0efac764f6510a3c86b102e53ffa27998343c79e (patch) | |
tree | 36c988408d857219ae1053a4296598e4ade5d677 | |
parent | 4c96fd70220fc9677ffa5efd5605a5726ac1011b (diff) | |
download | irssi-0efac764f6510a3c86b102e53ffa27998343c79e.zip |
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
-rw-r--r-- | src/irc/proxy/listen.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |