diff options
author | Timo Sirainen <cras@irssi.org> | 2004-09-12 13:12:34 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2004-09-12 13:12:34 +0000 |
commit | 7974c252a06c6925101e2c76b6bfe4666667ed3b (patch) | |
tree | 5c2f352ba04eed459e6af249ae526d6269101142 /src/fe-common | |
parent | ff0c5bfe7cc5c826fdf430dd104870d90f50e2b2 (diff) | |
download | irssi-7974c252a06c6925101e2c76b6bfe4666667ed3b.zip |
Recent WHOIS changes broke nick's gone/oper flags. Patch by Valentin Batz
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3290 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r-- | src/fe-common/irc/fe-whois.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-whois.c b/src/fe-common/irc/fe-whois.c index 1e8fd4a6..b956b9de 100644 --- a/src/fe-common/irc/fe-whois.c +++ b/src/fe-common/irc/fe-whois.c @@ -327,7 +327,6 @@ struct whois_event_table { static struct whois_event_table events[] = { { 312, event_whois_server }, - { 313, event_whois_oper }, { 326, event_whois_usermode326 }, { 327, event_whois_realhost327 }, { 379, event_whois_modes }, @@ -360,6 +359,7 @@ void fe_whois_init(void) signal_add("event 311", (SIGNAL_FUNC) event_whois); signal_add("whois away", (SIGNAL_FUNC) event_whois_away); + signal_add("whois oper", (SIGNAL_FUNC) event_whois_oper); signal_add("whowas away", (SIGNAL_FUNC) event_whois_away); signal_add("whois default event", (SIGNAL_FUNC) event_whois_default); signal_add("event 318", (SIGNAL_FUNC) event_end_of_whois); @@ -371,6 +371,7 @@ void fe_whois_deinit(void) { signal_remove("event 311", (SIGNAL_FUNC) event_whois); signal_remove("whois away", (SIGNAL_FUNC) event_whois_away); + signal_remove("whois oper", (SIGNAL_FUNC) event_whois_oper); signal_remove("whowas away", (SIGNAL_FUNC) event_whois_away); signal_remove("whois default event", (SIGNAL_FUNC) event_whois_default); signal_remove("event 318", (SIGNAL_FUNC) event_end_of_whois); |