1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

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
This commit is contained in:
Timo Sirainen 2001-11-14 23:37:39 +00:00 committed by cras
parent 89542ef942
commit da6170d4d7

View File

@ -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 */
@ -185,6 +183,8 @@ static void whois_send(IRC_SERVER_REC *server, char *nicks)
"event 317", "notifylist event whois idle",
"", "event empty", NULL);
g_free(str);
irc_send_cmdv(server, "WHOIS %s", nicks);
}
static void whois_send_server(IRC_SERVER_REC *server, char *nick)