From 850cf993eb8d5e20b9b845e42e4bdae1a6cae81f Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 11 Nov 2001 18:59:19 +0000 Subject: Moved rewritten server redirection code from core to irc. This new code should be able to do the redirecting a lot more error-proof. Changed lag-checking to use PINGs instead of NOTIFYs. This breaks scripts using redirection. Hopefully this doesn't break too much things in irssi :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1980 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/irc/fe-events.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'src/fe-common/irc') diff --git a/src/fe-common/irc/fe-events.c b/src/fe-common/irc/fe-events.c index 97b505fb..df536f42 100644 --- a/src/fe-common/irc/fe-events.c +++ b/src/fe-common/irc/fe-events.c @@ -309,17 +309,10 @@ static void event_connected(IRC_SERVER_REC *server) return; /* someone has our nick, find out who. */ + server_redirect_event(server, "whois", nick, FALSE, NULL, + "event 311", "nickfind event whois", + "", "event empty", NULL); irc_send_cmdv(server, "WHOIS %s", nick); - server_redirect_event((SERVER_REC *) server, nick, 1, - "event 318", "event empty", 1, - "event 401", "event empty", 1, - "event 311", "nickfind event whois", 1, - "event 301", "event empty", 1, - "event 312", "event empty", 1, - "event 313", "event empty", 1, - "event 317", "event empty", 1, - "event 319", "event empty", 1, NULL); - } static void event_nickfind_whois(IRC_SERVER_REC *server, const char *data) -- cgit v1.2.3