1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 04:13:14 +02:00

Remove more IsAnOp/IsOp

This commit is contained in:
Travis McArthur
2015-06-27 14:06:24 -07:00
parent 5943dd8c09
commit dc2b09a334
5 changed files with 15 additions and 16 deletions
+1 -5
View File
@@ -167,11 +167,7 @@ inline void parse_addlag(aClient *cptr, int cmdbytes)
#ifdef FAKELAG_CONFIGURABLE
!(cptr->class && (cptr->class->options & CLASS_OPT_NOFAKELAG)) &&
#endif
#ifdef NO_FAKE_LAG_FOR_LOCOPS
!IsAnOper(cptr))
#else
!IsOper(cptr))
#endif
!OperClass_evaluateACLPath("privacy:fakelag",cptr,NULL,NULL,NULL))
{
cptr->since += (1 + cmdbytes/90);
}