mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-30 23:12:25 +01:00
Return true from ValidatePermissionsForPath() for &me.
This commit is contained in:
parent
4378979ad5
commit
18d7e98d35
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ OperPermission ValidatePermissionsForPath(const char *path, Client *client, Clie
|
|||
return OPER_DENY;
|
||||
|
||||
/* Trust Servers, U-Lines and remote opers */
|
||||
if (IsServer(client) || IsULine(client) || (IsOper(client) && !MyUser(client)))
|
||||
if (IsServer(client) || IsMe(client) || IsULine(client) || (IsOper(client) && !MyUser(client)))
|
||||
return OPER_ALLOW;
|
||||
|
||||
if (!IsOper(client))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue