diff options
author | Timo Sirainen <cras@irssi.org> | 2004-07-14 12:12:10 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2004-07-14 12:12:10 +0000 |
commit | 591161b34e5c31f80ceb9467428f1b07feea5050 (patch) | |
tree | c05f0761d28e48ace97f998dc304aaded8709e15 /src | |
parent | cbf042b41d5ecbc669d7e4520c8b2a24f374f544 (diff) | |
download | irssi-591161b34e5c31f80ceb9467428f1b07feea5050.zip |
Handle 432 numeric (errorneus nickname) as "nick in use". Fixes problems
with ircnet 2.11 ircd when irssi tries to reconnect using UID as nick. Patch
by Petr Baudis
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3274 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/irc/core/irc-nicklist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/irc/core/irc-nicklist.c b/src/irc/core/irc-nicklist.c index 53c4abe0..5d5accd6 100644 --- a/src/irc/core/irc-nicklist.c +++ b/src/irc/core/irc-nicklist.c @@ -428,6 +428,7 @@ void irc_nicklist_init(void) signal_add_first("event 313", (SIGNAL_FUNC) event_whois_ircop); signal_add_first("event 353", (SIGNAL_FUNC) event_names_list); signal_add_first("event 366", (SIGNAL_FUNC) event_end_of_names); + signal_add_first("event 432", (SIGNAL_FUNC) event_nick_in_use); signal_add_first("event 433", (SIGNAL_FUNC) event_nick_in_use); signal_add_first("event 437", (SIGNAL_FUNC) event_target_unavailable); signal_add_first("event 302", (SIGNAL_FUNC) event_userhost); @@ -447,6 +448,7 @@ void irc_nicklist_deinit(void) signal_remove("event 313", (SIGNAL_FUNC) event_whois_ircop); signal_remove("event 353", (SIGNAL_FUNC) event_names_list); signal_remove("event 366", (SIGNAL_FUNC) event_end_of_names); + signal_remove("event 432", (SIGNAL_FUNC) event_nick_in_use); signal_remove("event 433", (SIGNAL_FUNC) event_nick_in_use); signal_remove("event 437", (SIGNAL_FUNC) event_target_unavailable); signal_remove("event 302", (SIGNAL_FUNC) event_userhost); |