From 9f2f1dc70a7ed6495cf511249f3b9095fb40c38a Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 5 Dec 2000 21:12:52 +0000 Subject: Server events: switched order of data and server parameters. it's now SERVER_REC *server, const char *data, .. hope this doesn't cause too many problems :) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@967 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/notifylist/notify-whois.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/irc/notifylist/notify-whois.c') diff --git a/src/irc/notifylist/notify-whois.c b/src/irc/notifylist/notify-whois.c index f6838bb7..eb7becd2 100644 --- a/src/irc/notifylist/notify-whois.c +++ b/src/irc/notifylist/notify-whois.c @@ -30,7 +30,7 @@ static char *last_notify_nick; -static void event_whois(const char *data, IRC_SERVER_REC *server) +static void event_whois(IRC_SERVER_REC *server, const char *data) { char *params, *nick, *user, *host, *realname; NOTIFY_NICK_REC *nickrec; @@ -68,7 +68,7 @@ static void event_whois(const char *data, IRC_SERVER_REC *server) g_free(params); } -static void event_whois_idle(const char *data, IRC_SERVER_REC *server) +static void event_whois_idle(IRC_SERVER_REC *server, const char *data) { NOTIFY_NICK_REC *nickrec; NOTIFYLIST_REC *notify; @@ -92,7 +92,7 @@ static void event_whois_idle(const char *data, IRC_SERVER_REC *server) g_free(params); } -static void event_whois_away(const char *data, IRC_SERVER_REC *server) +static void event_whois_away(IRC_SERVER_REC *server, const char *data) { NOTIFY_NICK_REC *nickrec; char *params, *nick, *awaymsg; @@ -111,7 +111,7 @@ static void event_whois_away(const char *data, IRC_SERVER_REC *server) } /* All WHOIS replies got, now announce all the changes at once. */ -static void event_whois_end(const char *data, IRC_SERVER_REC *server) +static void event_whois_end(IRC_SERVER_REC *server, const char *data) { MODULE_SERVER_REC *mserver; NOTIFYLIST_REC *notify; @@ -169,7 +169,7 @@ void notifylist_whois_init(void) 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, - "notifylist event whois", EXPANDO_ARG_SERVER2, NULL); + "notifylist event whois", EXPANDO_ARG_SERVER, NULL); } void notifylist_whois_deinit(void) -- cgit debian/1.2.3+git2.25.1-1-2-gaceb0