diff options
author | Timo Sirainen <cras@irssi.org> | 2002-02-10 12:13:00 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-02-10 12:13:00 +0000 |
commit | 7f8b0f07ec48f092b30fbe21d234ea7a50c28e91 (patch) | |
tree | 180c21758615a29b88c7c714022c7303e4d02dba /src | |
parent | 92eccaaf263b489a7ded35f3ec8d5fe638918142 (diff) | |
download | irssi-7f8b0f07ec48f092b30fbe21d234ea7a50c28e91.zip |
support for event 477 which aborts joins to +R channels in dalnet.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2414 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-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 4f3c19f7..58c376f7 100644 --- a/src/fe-common/irc/fe-events-numeric.c +++ b/src/fe-common/irc/fe-events-numeric.c @@ -894,6 +894,7 @@ void fe_events_numeric_init(void) signal_add("event 347", (SIGNAL_FUNC) event_received); signal_add("event 349", (SIGNAL_FUNC) event_received); signal_add("event 442", (SIGNAL_FUNC) event_received); + signal_add("event 477", (SIGNAL_FUNC) event_received); } void fe_events_numeric_deinit(void) @@ -976,4 +977,5 @@ void fe_events_numeric_deinit(void) signal_remove("event 347", (SIGNAL_FUNC) event_received); signal_remove("event 349", (SIGNAL_FUNC) event_received); signal_remove("event 442", (SIGNAL_FUNC) event_received); + signal_remove("event 477", (SIGNAL_FUNC) event_received); } diff --git a/src/irc/core/channel-events.c b/src/irc/core/channel-events.c index 146bef69..4df87fa9 100644 --- a/src/irc/core/channel-events.c +++ b/src/irc/core/channel-events.c @@ -314,6 +314,7 @@ void channel_events_init(void) 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 477", (SIGNAL_FUNC) event_cannot_join); /* need to be identify to registered nick (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 */ @@ -337,6 +338,7 @@ void channel_events_deinit(void) 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 477", (SIGNAL_FUNC) event_cannot_join); /* need to be identify to registered nick (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 */ |