mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 08:02:13 +02:00
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
This commit is contained in:
parent
346808789c
commit
9f2f1dc70a
32 changed files with 246 additions and 225 deletions
|
|
@ -261,7 +261,7 @@ static void split_set_timeout(void *key, NETSPLIT_REC *rec, NETSPLIT_REC *orig)
|
|||
rec->destroy = time(NULL)+60;
|
||||
}
|
||||
|
||||
static void event_join(const char *data, IRC_SERVER_REC *server,
|
||||
static void event_join(IRC_SERVER_REC *server, const char *data,
|
||||
const char *nick, const char *address)
|
||||
{
|
||||
NETSPLIT_REC *rec;
|
||||
|
|
@ -283,7 +283,7 @@ static void event_join(const char *data, IRC_SERVER_REC *server,
|
|||
|
||||
/* remove the nick from netsplit, but do it last so that other "event join"
|
||||
signal handlers can check if the join was a netjoin */
|
||||
static void event_join_last(const char *data, IRC_SERVER_REC *server,
|
||||
static void event_join_last(IRC_SERVER_REC *server, const char *data,
|
||||
const char *nick, const char *address)
|
||||
{
|
||||
NETSPLIT_REC *rec;
|
||||
|
|
@ -295,7 +295,7 @@ static void event_join_last(const char *data, IRC_SERVER_REC *server,
|
|||
}
|
||||
}
|
||||
|
||||
static void event_quit(const char *data, IRC_SERVER_REC *server,
|
||||
static void event_quit(IRC_SERVER_REC *server, const char *data,
|
||||
const char *nick, const char *address)
|
||||
{
|
||||
g_return_if_fail(data != NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue