* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
- *
- * $Id: channel.h 3580 2007-11-07 23:45:14Z jilles $
*/
#ifndef INCLUDED_channel_h
#define MAXMODEPARAMS 4
#define MAXMODEPARAMSSERV 10
+#include <setup.h>
+
struct Client;
/* mode structure for channels */
unsigned int join_count; /* joins within delta */
unsigned int join_delta; /* last ts of join */
- unsigned long bants;
+ time_t bants;
time_t channelts;
char *chname;
struct Client *client_p;
unsigned int flags;
- unsigned long bants;
+ time_t bants;
};
#define BANLEN 195
extern void set_channel_mode(struct Client *client_p, struct Client *source_p,
struct Channel *chptr, struct membership *msptr, int parc, const char *parv[]);
extern void set_channel_mlock(struct Client *client_p, struct Client *source_p,
- struct Channel *chptr, const char *newmlock, int propagate);
+ struct Channel *chptr, const char *newmlock, bool propagate);
extern struct ChannelMode chmode_table[256];