summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/fe-whois.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/irc/fe-whois.c')
-rw-r--r--src/fe-common/irc/fe-whois.c2
1 files changed, 2 insertions, 0 deletions
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);