From d1eaeca255025c38f70e9542ec141a5713496142 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 5 Dec 2000 00:53:04 +0000 Subject: Split expandos from special-vars.c to expandos.c. Added list of signals to each expando that can might change it's value. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@964 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/notifylist/notify-whois.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/irc/notifylist') diff --git a/src/irc/notifylist/notify-whois.c b/src/irc/notifylist/notify-whois.c index 45ec8479..f6838bb7 100644 --- a/src/irc/notifylist/notify-whois.c +++ b/src/irc/notifylist/notify-whois.c @@ -20,7 +20,7 @@ #include "module.h" #include "signals.h" -#include "special-vars.h" +#include "expandos.h" #include "irc.h" #include "irc-servers.h" @@ -168,7 +168,8 @@ void notifylist_whois_init(void) signal_add("notifylist event whois away", (SIGNAL_FUNC) event_whois_away); signal_add("notifylist event whois idle", (SIGNAL_FUNC) event_whois_idle); signal_add("notifylist event whois end", (SIGNAL_FUNC) event_whois_end); - expando_create("D", expando_lastnotify); + expando_create("D", expando_lastnotify, + "notifylist event whois", EXPANDO_ARG_SERVER2, NULL); } void notifylist_whois_deinit(void) -- cgit v1.2.3