diff --git a/.gitignore b/.gitignore index 6e5115038..19e3bf96a 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,14 @@ src/modules/Makefile unrealircd include/setup.h +# Ignore tags file +tags + +# Ignore SSL Stuff +server.cert.pem +server.key.pem +server.req.pem +ssl.rnd # Ignores for platform stuff .DS_Store diff --git a/src/operclass.c b/src/operclass.c index ed321d89a..9e07a448c 100644 --- a/src/operclass.c +++ b/src/operclass.c @@ -302,6 +302,10 @@ OperPermission OperClass_evaluateACLPath(char* path, aClient *sptr, aClient *vic OperClassACLPath *operPath; OperClassACL *acl; + // Trust U:Line or remote users + if (IsULine(sptr) || !MyClient(sptr)) + return OPER_ALLOW; + if (!IsOper(sptr)) return OPER_DENY;