diff options
author | Timo Sirainen <cras@irssi.org> | 2001-12-31 16:30:32 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-12-31 16:30:32 +0000 |
commit | 3f75bd3c3c4858364baca2dfac1e3a9167e3606b (patch) | |
tree | 369dc22e158cb164891c9ea7229ab15c8d686f0a /src/fe-common/irc/fe-events-numeric.c | |
parent | ffe00ae2457b098a27dfecee6da547fda4c57926 (diff) | |
download | irssi-3f75bd3c3c4858364baca2dfac1e3a9167e3606b.zip |
Abort joins on 442-numeric that dalnet sends when you can't join to channel
because you've not registered your nick.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2288 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc/fe-events-numeric.c')
-rw-r--r-- | src/fe-common/irc/fe-events-numeric.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-common/irc/fe-events-numeric.c b/src/fe-common/irc/fe-events-numeric.c index 8f0297d0..92580c88 100644 --- a/src/fe-common/irc/fe-events-numeric.c +++ b/src/fe-common/irc/fe-events-numeric.c @@ -872,6 +872,7 @@ void fe_events_numeric_init(void) signal_add("event 368", (SIGNAL_FUNC) event_target_received); signal_add("event 347", (SIGNAL_FUNC) event_target_received); signal_add("event 349", (SIGNAL_FUNC) event_target_received); + signal_add("event 442", (SIGNAL_FUNC) event_target_received); } void fe_events_numeric_deinit(void) @@ -952,4 +953,5 @@ void fe_events_numeric_deinit(void) signal_remove("event 368", (SIGNAL_FUNC) event_target_received); signal_remove("event 347", (SIGNAL_FUNC) event_target_received); signal_remove("event 349", (SIGNAL_FUNC) event_target_received); + signal_remove("event 442", (SIGNAL_FUNC) event_target_received); } |