1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

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
This commit is contained in:
Jilles Tjoelker 2007-11-18 21:21:51 +00:00 committed by jilles
parent 4c96fd7022
commit 0efac764f6

View File

@ -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;