diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-14 23:37:39 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-14 23:37:39 +0000 |
commit | da6170d4d7d750dab9de8ee2d165a40acfd43183 (patch) | |
tree | b8fc534fcf3d759480346abd041b9f14c860ca85 /src | |
parent | 89542ef94229b0620f55eb80e2fcd1adc53848d3 (diff) | |
download | irssi-da6170d4d7d750dab9de8ee2d165a40acfd43183.zip |
WHOIS command should be sent after redirecting, not before..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2010 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/irc/notifylist/notify-ison.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/irc/notifylist/notify-ison.c b/src/irc/notifylist/notify-ison.c index b5c076bd..b5885771 100644 --- a/src/irc/notifylist/notify-ison.c +++ b/src/irc/notifylist/notify-ison.c @@ -168,8 +168,6 @@ static void whois_send(IRC_SERVER_REC *server, char *nicks) { char *p, *str; - irc_send_cmdv(server, "WHOIS %s", nicks); - /* "nick1,nick2" -> "nick1,nick2 nick1 nick2" because End of WHOIS give nick1,nick2 while other whois events give nick1 or nick2 */ @@ -184,7 +182,9 @@ static void whois_send(IRC_SERVER_REC *server, char *nicks) "event 301", "notifylist event whois away", "event 317", "notifylist event whois idle", "", "event empty", NULL); - g_free(str); + g_free(str); + + irc_send_cmdv(server, "WHOIS %s", nicks); } static void whois_send_server(IRC_SERVER_REC *server, char *nick) |