Remove various unused macros.
This commit is contained in:
parent
86142e83d7
commit
9696c9d6ab
1 changed files with 0 additions and 5 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue