summaryrefslogtreecommitdiff
path: root/src/irc/notifylist
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-05 00:53:04 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-05 00:53:04 +0000
commitd1eaeca255025c38f70e9542ec141a5713496142 (patch)
treece543f56b2b07b79f44fd2c2b0c2613137e7e533 /src/irc/notifylist
parent5f941b8fa6442b7c0992561e56eb7dcd7a18046b (diff)
downloadirssi-d1eaeca255025c38f70e9542ec141a5713496142.zip
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
Diffstat (limited to 'src/irc/notifylist')
-rw-r--r--src/irc/notifylist/notify-whois.c5
1 files changed, 3 insertions, 2 deletions
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)