diff options
-rw-r--r-- | src/fe-common/irc/fe-events-numeric.c | 2 | ||||
-rw-r--r-- | src/irc/core/channel-events.c | 2 |
2 files changed, 4 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); } diff --git a/src/irc/core/channel-events.c b/src/irc/core/channel-events.c index 3e411be7..53353114 100644 --- a/src/irc/core/channel-events.c +++ b/src/irc/core/channel-events.c @@ -312,6 +312,7 @@ void channel_events_init(void) signal_add_first("event 403", (SIGNAL_FUNC) event_cannot_join); /* no such channel */ signal_add_first("event 405", (SIGNAL_FUNC) event_cannot_join); /* too many channels */ signal_add_first("event 407", (SIGNAL_FUNC) event_duplicate_channel); /* duplicate channel */ + signal_add_first("event 442", (SIGNAL_FUNC) event_cannot_join); /* not on that channel (dalnet) */ signal_add_first("event 471", (SIGNAL_FUNC) event_cannot_join); /* channel is full */ signal_add_first("event 473", (SIGNAL_FUNC) event_cannot_join); /* invite only */ signal_add_first("event 474", (SIGNAL_FUNC) event_cannot_join); /* banned */ @@ -334,6 +335,7 @@ void channel_events_deinit(void) signal_remove("event 403", (SIGNAL_FUNC) event_cannot_join); /* no such channel */ signal_remove("event 405", (SIGNAL_FUNC) event_cannot_join); /* too many channels */ signal_remove("event 407", (SIGNAL_FUNC) event_duplicate_channel); /* duplicate channel */ + signal_remove("event 442", (SIGNAL_FUNC) event_cannot_join); /* not on that channel (dalnet) */ signal_remove("event 471", (SIGNAL_FUNC) event_cannot_join); /* channel is full */ signal_remove("event 473", (SIGNAL_FUNC) event_cannot_join); /* invite only */ signal_remove("event 474", (SIGNAL_FUNC) event_cannot_join); /* banned */ |