Remove various unused macros.

This commit is contained in:
Jilles Tjoelker 2007-12-24 20:40:12 +01:00
parent 6f068dbd15
commit 91e46e62e5
1 changed files with 0 additions and 5 deletions

View File

@ -518,19 +518,14 @@ struct exit_client_hook
if (MyClient((x)) && !IsOper((x)) && !IsServer((x))) \ if (MyClient((x)) && !IsOper((x)) && !IsServer((x))) \
(x)->handler = CLIENT_HANDLER; } (x)->handler = CLIENT_HANDLER; }
#define IsPrivileged(x) (IsOper(x) || IsServer(x))
/* umode flags */ /* umode flags */
#define IsInvisible(x) ((x)->umodes & UMODE_INVISIBLE) #define IsInvisible(x) ((x)->umodes & UMODE_INVISIBLE)
#define SetInvisible(x) ((x)->umodes |= UMODE_INVISIBLE) #define SetInvisible(x) ((x)->umodes |= UMODE_INVISIBLE)
#define ClearInvisible(x) ((x)->umodes &= ~UMODE_INVISIBLE) #define ClearInvisible(x) ((x)->umodes &= ~UMODE_INVISIBLE)
#define SendWallops(x) ((x)->umodes & UMODE_WALLOP) #define SendWallops(x) ((x)->umodes & UMODE_WALLOP)
#define ClearWallops(x) ((x)->umodes &= ~UMODE_WALLOP)
#define SendLocops(x) ((x)->umodes & UMODE_LOCOPS) #define SendLocops(x) ((x)->umodes & UMODE_LOCOPS)
#define SendServNotice(x) ((x)->umodes & UMODE_SERVNOTICE) #define SendServNotice(x) ((x)->umodes & UMODE_SERVNOTICE)
#define SendOperwall(x) ((x)->umodes & UMODE_OPERWALL) #define SendOperwall(x) ((x)->umodes & UMODE_OPERWALL)
#define SetWallops(x) ((x)->umodes |= UMODE_WALLOP)
#define SetCallerId(x) ((x)->umodes |= UMODE_CALLERID)
#define IsSetCallerId(x) ((x)->umodes & UMODE_CALLERID) #define IsSetCallerId(x) ((x)->umodes & UMODE_CALLERID)
#define IsService(x) ((x)->umodes & UMODE_SERVICE) #define IsService(x) ((x)->umodes & UMODE_SERVICE)
#define IsDeaf(x) ((x)->umodes & UMODE_DEAF) #define IsDeaf(x) ((x)->umodes & UMODE_DEAF)