0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 00:03:45 +02:00

Remove various unused macros.

This commit is contained in:
Jilles Tjoelker 2007-12-24 20:40:12 +01:00
parent 86142e83d7
commit 9696c9d6ab

View file

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