1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Added support for 439 numeric ("Target change too fast") which may tell that

join was aborted.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2878 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-08-21 17:26:40 +00:00 committed by cras
parent 14880c74e3
commit 3303db4e87
2 changed files with 4 additions and 0 deletions

View File

@ -954,6 +954,7 @@ void fe_events_numeric_init(void)
signal_add("event 436", (SIGNAL_FUNC) event_received);
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 482", (SIGNAL_FUNC) event_received);
signal_add("event 368", (SIGNAL_FUNC) event_target_received);
@ -1038,6 +1039,7 @@ void fe_events_numeric_deinit(void)
signal_remove("event 436", (SIGNAL_FUNC) event_received);
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 482", (SIGNAL_FUNC) event_received);
signal_remove("event 368", (SIGNAL_FUNC) event_target_received);

View File

@ -365,6 +365,7 @@ void channel_events_init(void)
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 379", (SIGNAL_FUNC) event_cannot_join); /* forwarding to another channel */
signal_add_first("event 439", (SIGNAL_FUNC) event_cannot_join); /* target change too fast */
signal_add("event topic", (SIGNAL_FUNC) event_topic);
signal_add_first("event join", (SIGNAL_FUNC) event_join);
@ -389,6 +390,7 @@ void channel_events_deinit(void)
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 379", (SIGNAL_FUNC) event_cannot_join); /* forwarding to another channel */
signal_remove("event 439", (SIGNAL_FUNC) event_cannot_join); /* target change too fast */
signal_remove("event topic", (SIGNAL_FUNC) event_topic);
signal_remove("event join", (SIGNAL_FUNC) event_join);