1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Fixed /WHOWAS bug, where "event 312" was not printed right, Recent WHOIS changes broke it.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3301 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Valentin Batz 2004-09-16 09:00:42 +00:00 committed by senneth
parent 0a4b38295d
commit c9d21e7807

View File

@ -367,6 +367,7 @@ void fe_whois_init(void)
settings_add_bool("lookandfeel", "whois_hide_safe_channel_id", TRUE); settings_add_bool("lookandfeel", "whois_hide_safe_channel_id", TRUE);
signal_add("event 311", (SIGNAL_FUNC) event_whois); signal_add("event 311", (SIGNAL_FUNC) event_whois);
signal_add("event 312", (SIGNAL_FUNC) event_whois_server);
signal_add("whois away", (SIGNAL_FUNC) event_whois_away); signal_add("whois away", (SIGNAL_FUNC) event_whois_away);
signal_add("whois oper", (SIGNAL_FUNC) event_whois_oper); signal_add("whois oper", (SIGNAL_FUNC) event_whois_oper);
signal_add("whowas away", (SIGNAL_FUNC) event_whois_away); signal_add("whowas away", (SIGNAL_FUNC) event_whois_away);
@ -379,6 +380,7 @@ void fe_whois_init(void)
void fe_whois_deinit(void) void fe_whois_deinit(void)
{ {
signal_remove("event 311", (SIGNAL_FUNC) event_whois); signal_remove("event 311", (SIGNAL_FUNC) event_whois);
signal_remove("event 312", (SIGNAL_FUNC) event_whois_server);
signal_remove("whois away", (SIGNAL_FUNC) event_whois_away); signal_remove("whois away", (SIGNAL_FUNC) event_whois_away);
signal_remove("whois oper", (SIGNAL_FUNC) event_whois_oper); signal_remove("whois oper", (SIGNAL_FUNC) event_whois_oper);
signal_remove("whowas away", (SIGNAL_FUNC) event_whois_away); signal_remove("whowas away", (SIGNAL_FUNC) event_whois_away);