X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2FChanNode.h;h=f17792f3c2901be4180bd6bd4a3106151f5c5f7a;hb=ab202224a669025ff7dbf50549d7ac4a337d7fc7;hp=9a2c8c2b24e5db4546c12824cdd347f3a1d7ab35;hpb=689da1db7e2517c187ce76c6c553e20d630a7f36;p=NeonServV5.git diff --git a/src/ChanNode.h b/src/ChanNode.h index 9a2c8c2..f17792f 100644 --- a/src/ChanNode.h +++ b/src/ChanNode.h @@ -1,4 +1,4 @@ -/* ChanNode.h - NeonServ v5.4 +/* ChanNode.h - NeonServ v5.5 * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -22,6 +22,7 @@ struct ChanUser; struct trigger_cache; struct ModeNode; struct NeonSpamSettings; +struct timeq_entry; #define CHANFLAG_RECEIVED_USERLIST 0x01 #define CHANFLAG_REQUESTED_CHANINFO 0x02 @@ -29,6 +30,8 @@ struct NeonSpamSettings; #define CHANFLAG_HAVE_INVISIBLES 0x08 #define CHANFLAG_REJOINING 0x10 +#define CHANFLAG_SCRIPTFLAG1 0x80 /* used by neonserv_cmd_search */ + struct ChanNode { char name[CHANNELLEN+1]; char topic[TOPICLEN+1]; @@ -38,13 +41,13 @@ struct ChanNode { struct ModeNode *modes; struct BanNode *bans; - struct UserNode *chanbot; struct trigger_cache *trigger; int channel_id; struct NeonSpamSettings *spam_settings; - void *rejoin_array; + void *rejoin_bots; + struct timeq_entry *rejoin_timeout; struct ChanNode *next; };