From c9d21e78072066f705950676673da2e9eb48d55a Mon Sep 17 00:00:00 2001 From: Valentin Batz Date: Thu, 16 Sep 2004 09:00:42 +0000 Subject: 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 --- src/fe-common/irc/fe-whois.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/fe-common/irc/fe-whois.c') diff --git a/src/fe-common/irc/fe-whois.c b/src/fe-common/irc/fe-whois.c index e539e3c1..68c7be1e 100644 --- a/src/fe-common/irc/fe-whois.c +++ b/src/fe-common/irc/fe-whois.c @@ -367,6 +367,7 @@ void fe_whois_init(void) settings_add_bool("lookandfeel", "whois_hide_safe_channel_id", TRUE); 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 oper", (SIGNAL_FUNC) event_whois_oper); signal_add("whowas away", (SIGNAL_FUNC) event_whois_away); @@ -379,6 +380,7 @@ void fe_whois_init(void) void fe_whois_deinit(void) { 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 oper", (SIGNAL_FUNC) event_whois_oper); signal_remove("whowas away", (SIGNAL_FUNC) event_whois_away); -- cgit v1.2.3