diff options
author | Timo Sirainen <cras@irssi.org> | 2001-12-06 23:10:41 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-12-06 23:10:41 +0000 |
commit | be8778052e5932c3d0b4b021ce00997b1f5f9880 (patch) | |
tree | 335257bcbc4c54bd69eafc49b41f598a16b61e57 /src/irc/core/servers-redirect.c | |
parent | 6be1390303322916eb82e29ee7693eac2023c3dd (diff) | |
download | irssi-be8778052e5932c3d0b4b021ce00997b1f5f9880.zip |
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
Diffstat (limited to 'src/irc/core/servers-redirect.c')
-rw-r--r-- | src/irc/core/servers-redirect.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/irc/core/servers-redirect.c b/src/irc/core/servers-redirect.c index 40ae16f5..42e31fa4 100644 --- a/src/irc/core/servers-redirect.c +++ b/src/irc/core/servers-redirect.c @@ -617,6 +617,16 @@ void servers_redirect_init(void) NULL, NULL); + /* MODE user */ + server_redirect_register("mode user", FALSE, 0, + NULL, + "event mode", 0, /* MODE-reply */ + "event 501", -1, /* Uknown MODE flag */ + "event 502", -1, /* Can't change mode for other users */ + "event 403", 1, /* That channel doesn't exist (tried to change mode to others) */ + NULL, + NULL); + /* MODE #channel */ server_redirect_register("mode channel", FALSE, 0, NULL, |