From da6170d4d7d750dab9de8ee2d165a40acfd43183 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 14 Nov 2001 23:37:39 +0000 Subject: [PATCH] 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 --- src/irc/notifylist/notify-ison.c | 6 +++--- 1 file 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)