On nick collision kills, reconnect back immediately. On any other type of

kills, stop reconnecting to the server entirely.

When reconnecting to server and setting back the old user mode, only use the
modes that we actually wanted to change with /MODE commands, don't try to
set back modes given to us by server (eg. +r).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2205 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-12-06 23:10:41 +00:00 committed by cras
commit be8778052e
5 changed files with 81 additions and 12 deletions

View file

@ -45,7 +45,8 @@ struct _IRC_SERVER_REC {
char *real_address; /* address the irc server gives */
char *usermode; /* The whole mode string .. */
char *userhost; /* /USERHOST <nick> - set when joined to first channel */
char *wanted_usermode; /* The usermode we want to use, doesn't include the modes given us by the server (eg. +r) */
char *userhost; /* /USERHOST <nick> - set when joined to first channel */
int channels_formed; /* channels formed in irc network */
unsigned int whois_found:1; /* Did WHOIS return any entries? */