From a110b05a0c7f2b194c05ac20fef0d54f80a40d69 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 15 Nov 2001 16:18:11 +0000 Subject: /WHOIS nick_who_was_in_irc showed only the first and last lines of /WHOWAS. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2018 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/irc-commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/irc/core/irc-commands.c b/src/irc/core/irc-commands.c index 84c0d095..a7622fd6 100644 --- a/src/irc/core/irc-commands.c +++ b/src/irc/core/irc-commands.c @@ -384,7 +384,7 @@ static void cmd_whois(const char *data, IRC_SERVER_REC *server, query = get_redirect_nicklist(query, &free_nick); str = g_strconcat(qserver, " ", query, NULL); - server_redirect_event(server, "whois", 1, str, *qserver != '\0', + server_redirect_event(server, "whois", 1, str, TRUE, NULL, "event 318", "event 318", "event 402", event_402, @@ -418,7 +418,7 @@ static void sig_whois_not_found(IRC_SERVER_REC *server, const char *data) server_redirect_event(server, "whowas", 1, nick, -1, NULL, "event 314", "whowas event", "event 369", "whowas event end", - "", "event empty", NULL); + "event 406", "event empty", NULL); irc_send_cmdv(server, "WHOWAS %s 1", nick); g_free(params); -- cgit v1.2.3