Merge branch 'unreal34' of github.com:unrealircd/unrealircd into unreal34

This commit is contained in:
Bram Matthys 2015-07-05 20:04:43 +02:00
commit 133d75ebd0
2 changed files with 12 additions and 0 deletions

8
.gitignore vendored
View file

@ -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

View file

@ -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;