mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 04:43:34 +02:00
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
This commit is contained in:
parent
712f3b383d
commit
850cf993eb
28 changed files with 908 additions and 786 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue