From 0cdfa019718ed0704efb948462ee886cf47c5c75 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 16 Nov 2003 18:31:42 +0000 Subject: Support 479 illegal channel name numeric git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3151 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/irc/fe-events-numeric.c | 2 ++ src/irc/core/channel-events.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src') diff --git a/src/fe-common/irc/fe-events-numeric.c b/src/fe-common/irc/fe-events-numeric.c index 38351577..242866e6 100644 --- a/src/fe-common/irc/fe-events-numeric.c +++ b/src/fe-common/irc/fe-events-numeric.c @@ -955,6 +955,7 @@ void fe_events_numeric_init(void) signal_add("event 438", (SIGNAL_FUNC) event_received); signal_add("event 465", (SIGNAL_FUNC) event_received); signal_add("event 439", (SIGNAL_FUNC) event_received); + signal_add("event 479", (SIGNAL_FUNC) event_received); signal_add("event 482", (SIGNAL_FUNC) event_received); signal_add("event 368", (SIGNAL_FUNC) event_target_received); @@ -1042,6 +1043,7 @@ void fe_events_numeric_deinit(void) signal_remove("event 438", (SIGNAL_FUNC) event_received); signal_remove("event 465", (SIGNAL_FUNC) event_received); signal_remove("event 439", (SIGNAL_FUNC) event_received); + signal_remove("event 479", (SIGNAL_FUNC) event_received); signal_remove("event 482", (SIGNAL_FUNC) event_received); signal_remove("event 368", (SIGNAL_FUNC) event_target_received); diff --git a/src/irc/core/channel-events.c b/src/irc/core/channel-events.c index dc98be3e..7874893e 100644 --- a/src/irc/core/channel-events.c +++ b/src/irc/core/channel-events.c @@ -370,6 +370,7 @@ void channel_events_init(void) signal_add_first("event 474", (SIGNAL_FUNC) event_cannot_join); /* banned */ signal_add_first("event 475", (SIGNAL_FUNC) event_cannot_join); /* bad channel key */ signal_add_first("event 476", (SIGNAL_FUNC) event_cannot_join); /* bad channel mask */ + signal_add_first("event 479", (SIGNAL_FUNC) event_cannot_join); /* Illegal channel name */ signal_add_first("event 379", (SIGNAL_FUNC) event_cannot_join); /* forwarding to another channel */ signal_add_first("event 439", (SIGNAL_FUNC) event_cannot_join); /* target change too fast */ @@ -395,6 +396,7 @@ void channel_events_deinit(void) signal_remove("event 474", (SIGNAL_FUNC) event_cannot_join); /* banned */ signal_remove("event 475", (SIGNAL_FUNC) event_cannot_join); /* bad channel key */ signal_remove("event 476", (SIGNAL_FUNC) event_cannot_join); /* bad channel mask */ + signal_remove("event 479", (SIGNAL_FUNC) event_cannot_join); /* Illegal channel name */ signal_remove("event 379", (SIGNAL_FUNC) event_cannot_join); /* forwarding to another channel */ signal_remove("event 439", (SIGNAL_FUNC) event_cannot_join); /* target change too fast */ -- cgit v1.2.3