summaryrefslogtreecommitdiff
path: root/src/irc/flood/flood.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/flood/flood.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/flood/flood.c')
-rw-r--r--src/irc/flood/flood.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/irc/flood/flood.c b/src/irc/flood/flood.c
index 08fe9bf0..0c4dc7ab 100644
--- a/src/irc/flood/flood.c
+++ b/src/irc/flood/flood.c
@@ -197,7 +197,8 @@ static void flood_newmsg(IRC_SERVER_REC *server, int level, const char *nick, co
flood->items = g_slist_append(flood->items, rec);
}
-static void flood_privmsg(const char *data, IRC_SERVER_REC *server, const char *nick, const char *addr)
+static void flood_privmsg(IRC_SERVER_REC *server, const char *data,
+ const char *nick, const char *addr)
{
char *params, *target, *text;
int level;
@@ -217,7 +218,8 @@ static void flood_privmsg(const char *data, IRC_SERVER_REC *server, const char *
g_free(params);
}
-static void flood_notice(const char *data, IRC_SERVER_REC *server, const char *nick, const char *addr)
+static void flood_notice(IRC_SERVER_REC *server, const char *data,
+ const char *nick, const char *addr)
{
char *params, *target, *text;
@@ -234,7 +236,8 @@ static void flood_notice(const char *data, IRC_SERVER_REC *server, const char *n
g_free(params);
}
-static void flood_ctcp(const char *data, IRC_SERVER_REC *server, const char *nick, const char *addr, const char *target)
+static void flood_ctcp(IRC_SERVER_REC *server, const char *data,
+ const char *nick, const char *addr, const char *target)
{
int level;