mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 22:23:13 +02:00
Remove IsPrivileged
This commit is contained in:
@@ -368,7 +368,6 @@ typedef OperPermission (*OperClassEntryEvalCallback)(OperClassACLEntryVar* varia
|
||||
#define IsRegNick(x) ((x)->umodes & UMODE_REGNICK)
|
||||
#define IsLoggedIn(x) (IsRegNick(x) || (x->user && (*x->user->svid != '*') && !isdigit(*x->user->svid))) /* registered nick (+r) or just logged into services (may be -r) */
|
||||
#define IsPerson(x) ((x)->user && IsClient(x))
|
||||
#define IsPrivileged(x) (IsAnOper(x) || IsServer(x))
|
||||
#define SendWallops(x) (!IsMe(x) && IsPerson(x) && ((x)->umodes & UMODE_WALLOP))
|
||||
#define SendServNotice(x) (((x)->user) && ((x)->user->snomask & SNO_SNOTICE))
|
||||
#define IsListening(x) ((x)->flags & FLAGS_LISTEN)
|
||||
|
||||
Reference in New Issue
Block a user