mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-30 23:12:25 +01:00
Merge branch 'unreal34' of github.com:unrealircd/unrealircd into unreal34
This commit is contained in:
commit
133d75ebd0
2 changed files with 12 additions and 0 deletions
8
.gitignore
vendored
8
.gitignore
vendored
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue