diff options
author | Timo Sirainen <cras@irssi.org> | 2001-12-06 23:05:08 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-12-06 23:05:08 +0000 |
commit | 6e2b0d41d925f5807464d96bf102b9f67314aa33 (patch) | |
tree | da92564a0753ef90b2df01eb35ede13d0ec2bdcb | |
parent | e173a416d2a228c5ea151c9ce8f2ba361bbd9de9 (diff) | |
download | irssi-6e2b0d41d925f5807464d96bf102b9f67314aa33.zip |
Treat all WHOIS requests as remote.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2203 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/irc/proxy/listen.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/irc/proxy/listen.c b/src/irc/proxy/listen.c index db028e7e..806b2db7 100644 --- a/src/irc/proxy/listen.c +++ b/src/irc/proxy/listen.c @@ -156,15 +156,13 @@ static void handle_client_cmd(CLIENT_REC *client, char *cmd, char *args, if (strcmp(cmd, "WHO") == 0) grab_who(client, args); else if (strcmp(cmd, "WHOIS") == 0) { - int remote; char *p; /* convert dots to spaces */ - remote = strchr(args, ' ') != NULL; for (p = args; *p != '\0'; p++) if (*p == ',') *p = ' '; - proxy_redirect_event(client, "whois", 1, args, remote); + proxy_redirect_event(client, "whois", 1, args, TRUE); } else if (strcmp(cmd, "ISON") == 0) proxy_redirect_event(client, "ison", 1, args, -1); else if (strcmp(cmd, "USERHOST") == 0) |