Return true from ValidatePermissionsForPath() for &me.

This commit is contained in:
Bram Matthys 2023-01-07 15:20:48 +01:00
parent 4378979ad5
commit 18d7e98d35
No known key found for this signature in database
GPG key ID: BF8116B163EAAE98

View file

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