Rearrange flags2 to make room for 3 more oper privileges.

This commit is contained in:
Jilles Tjoelker 2007-12-24 21:16:19 +01:00
parent 2d2c402d0b
commit 333d73ff28
2 changed files with 8 additions and 8 deletions

View File

@ -454,13 +454,13 @@ struct exit_client_hook
/* overflow flags */ /* overflow flags */
/* EARLIER FLAGS ARE IN s_newconf.h */ /* EARLIER FLAGS ARE IN s_newconf.h */
#define FLAGS2_EXEMPTRESV 0x0080000 #define FLAGS2_EXEMPTRESV 0x00400000
#define FLAGS2_EXEMPTGLINE 0x0100000 #define FLAGS2_EXEMPTGLINE 0x00800000
#define FLAGS2_EXEMPTKLINE 0x0200000 #define FLAGS2_EXEMPTKLINE 0x01000000
#define FLAGS2_EXEMPTFLOOD 0x0400000 #define FLAGS2_EXEMPTFLOOD 0x02000000
#define FLAGS2_NOLIMIT 0x0800000 #define FLAGS2_NOLIMIT 0x04000000
#define FLAGS2_IDLE_LINED 0x1000000 #define FLAGS2_IDLE_LINED 0x08000000
#define FLAGS2_IP_SPOOFING 0x8000000 #define FLAGS2_IP_SPOOFING 0x10000000
#define FLAGS2_EXEMPTSPAMBOT 0x20000000 #define FLAGS2_EXEMPTSPAMBOT 0x20000000
#define FLAGS2_EXEMPTSHIDE 0x40000000 #define FLAGS2_EXEMPTSHIDE 0x40000000
#define FLAGS2_EXEMPTJUPE 0x80000000 #define FLAGS2_EXEMPTJUPE 0x80000000

View File

@ -153,7 +153,7 @@ extern void cluster_generic(struct Client *, const char *, int cltype,
#define OPER_SPY 0x10000 #define OPER_SPY 0x10000
#define OPER_REMOTEBAN 0x20000 #define OPER_REMOTEBAN 0x20000
/* 0x40000 */ /* 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|\ #define OPER_FLAGS (OPER_KLINE|OPER_UNKLINE|OPER_LOCKILL|OPER_GLOBKILL|\
OPER_REMOTE|OPER_GLINE|OPER_XLINE|OPER_RESV|\ OPER_REMOTE|OPER_GLINE|OPER_XLINE|OPER_RESV|\