mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +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
|
|
@ -37,12 +37,16 @@ struct _IRC_SERVER_CONNECT_REC {
|
|||
struct _IRC_SERVER_REC {
|
||||
#include "server-rec.h"
|
||||
|
||||
/* For deciding if event should be redirected */
|
||||
GSList *redirects;
|
||||
void *redirect_next;
|
||||
void *redirect_continue;
|
||||
|
||||
char *real_address; /* address the irc server gives */
|
||||
char *usermode; /* The whole mode string .. */
|
||||
char *userhost; /* /USERHOST <nick> - set when joined to first channel */
|
||||
int channels_formed; /* channels formed in irc network */
|
||||
|
||||
unsigned int nick_changing:1; /* We've sent nick change command to server */
|
||||
unsigned int whois_coming:1; /* Mostly just to display away message right.. */
|
||||
unsigned int whois_found:1; /* Did WHOIS return any entries? */
|
||||
unsigned int whowas_found:1; /* Did WHOWAS return any entries? */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue