From 3fec9477b866b83ddda13c786a4620bff31a4714 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Mon, 24 Dec 2007 21:16:19 +0100 Subject: [PATCH] Rearrange flags2 to make room for 3 more oper privileges. --- include/client.h | 14 +++++++------- include/s_newconf.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/client.h b/include/client.h index 00c01e50..20f9bfcb 100644 --- a/include/client.h +++ b/include/client.h @@ -454,13 +454,13 @@ struct exit_client_hook /* overflow flags */ /* EARLIER FLAGS ARE IN s_newconf.h */ -#define FLAGS2_EXEMPTRESV 0x0080000 -#define FLAGS2_EXEMPTGLINE 0x0100000 -#define FLAGS2_EXEMPTKLINE 0x0200000 -#define FLAGS2_EXEMPTFLOOD 0x0400000 -#define FLAGS2_NOLIMIT 0x0800000 -#define FLAGS2_IDLE_LINED 0x1000000 -#define FLAGS2_IP_SPOOFING 0x8000000 +#define FLAGS2_EXEMPTRESV 0x00400000 +#define FLAGS2_EXEMPTGLINE 0x00800000 +#define FLAGS2_EXEMPTKLINE 0x01000000 +#define FLAGS2_EXEMPTFLOOD 0x02000000 +#define FLAGS2_NOLIMIT 0x04000000 +#define FLAGS2_IDLE_LINED 0x08000000 +#define FLAGS2_IP_SPOOFING 0x10000000 #define FLAGS2_EXEMPTSPAMBOT 0x20000000 #define FLAGS2_EXEMPTSHIDE 0x40000000 #define FLAGS2_EXEMPTJUPE 0x80000000 diff --git a/include/s_newconf.h b/include/s_newconf.h index 7a511493..a938860f 100644 --- a/include/s_newconf.h +++ b/include/s_newconf.h @@ -153,7 +153,7 @@ extern void cluster_generic(struct Client *, const char *, int cltype, #define OPER_SPY 0x10000 #define OPER_REMOTEBAN 0x20000 /* 0x40000 */ -/* 0x80000 and above are in client.h */ +/* 0x400000 and above are in client.h */ #define OPER_FLAGS (OPER_KLINE|OPER_UNKLINE|OPER_LOCKILL|OPER_GLOBKILL|\ OPER_REMOTE|OPER_GLINE|OPER_XLINE|OPER_RESV|\