summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2003-11-16 18:31:42 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2003-11-16 18:31:42 +0000
commit0cdfa019718ed0704efb948462ee886cf47c5c75 (patch)
treefcde68e885f570c0fa0fe9c18075f9a917f920a7 /src
parent80a277a34f7afe61b0baed6149149e42605249a5 (diff)
downloadirssi-0cdfa019718ed0704efb948462ee886cf47c5c75.zip
Support 479 illegal channel name numeric
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3151 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/irc/fe-events-numeric.c2
-rw-r--r--src/irc/core/channel-events.c2
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 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 */