summaryrefslogtreecommitdiff
path: root/src/irc/core/channels-query.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-05 21:12:52 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-05 21:12:52 +0000
commit9f2f1dc70a7ed6495cf511249f3b9095fb40c38a (patch)
treeb54494da367fdeb1c4f3e90b559da6615b58e370 /src/irc/core/channels-query.c
parent346808789cfd3556b8caf263bdd81982d6081296 (diff)
downloadirssi-9f2f1dc70a7ed6495cf511249f3b9095fb40c38a.zip
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
Diffstat (limited to 'src/irc/core/channels-query.c')
-rw-r--r--src/irc/core/channels-query.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/irc/core/channels-query.c b/src/irc/core/channels-query.c
index 2283fdad..b338a0eb 100644
--- a/src/irc/core/channels-query.c
+++ b/src/irc/core/channels-query.c
@@ -396,7 +396,8 @@ static void channel_got_query(IRC_SERVER_REC *server, IRC_CHANNEL_REC *chanrec,
channels_query_check(server);
}
-static void event_channel_mode(char *data, IRC_SERVER_REC *server, const char *nick)
+static void event_channel_mode(IRC_SERVER_REC *server, const char *data,
+ const char *nick)
{
IRC_CHANNEL_REC *chanrec;
char *params, *channel, *mode;
@@ -420,7 +421,7 @@ static void multi_query_remove(IRC_SERVER_REC *server, const char *event, const
server_redirect_remove_next((SERVER_REC *) server, event, queue);
}
-static void event_end_of_who(const char *data, IRC_SERVER_REC *server)
+static void event_end_of_who(IRC_SERVER_REC *server, const char *data)
{
IRC_CHANNEL_REC *chanrec;
NICK_REC *nick;
@@ -474,7 +475,7 @@ static void event_end_of_who(const char *data, IRC_SERVER_REC *server)
}
}
-static void event_end_of_banlist(const char *data, IRC_SERVER_REC *server)
+static void event_end_of_banlist(IRC_SERVER_REC *server, const char *data)
{
IRC_CHANNEL_REC *chanrec;
char *params, *channel;
@@ -489,7 +490,7 @@ static void event_end_of_banlist(const char *data, IRC_SERVER_REC *server)
g_free(params);
}
-static void event_end_of_ebanlist(const char *data, IRC_SERVER_REC *server)
+static void event_end_of_ebanlist(IRC_SERVER_REC *server, const char *data)
{
IRC_CHANNEL_REC *chanrec;
char *params, *channel;
@@ -504,7 +505,7 @@ static void event_end_of_ebanlist(const char *data, IRC_SERVER_REC *server)
g_free(params);
}
-static void event_end_of_invitelist(const char *data, IRC_SERVER_REC *server)
+static void event_end_of_invitelist(IRC_SERVER_REC *server, const char *data)
{
IRC_CHANNEL_REC *chanrec;
char *params, *channel;
@@ -557,7 +558,7 @@ static void multi_command_error(IRC_SERVER_REC *server, const char *data,
channels_query_check(server);
}
-static void event_mode_abort(const char *data, IRC_SERVER_REC *server)
+static void event_mode_abort(IRC_SERVER_REC *server, const char *data)
{
char *params, *channel;
@@ -576,7 +577,7 @@ static void event_mode_abort(const char *data, IRC_SERVER_REC *server)
g_free(params);
}
-static void event_who_abort(const char *data, IRC_SERVER_REC *server)
+static void event_who_abort(IRC_SERVER_REC *server, const char *data)
{
char *params, *channel;