mirror of
https://github.com/anope/anope.git
synced 2026-07-01 14:26:37 +02:00
Don't apply secureops to protected users
This commit is contained in:
@@ -1314,7 +1314,7 @@ class CSSet : public Module
|
||||
{
|
||||
if (noautoop.HasExt(chan->ci))
|
||||
give_modes = false;
|
||||
if (secureops.HasExt(chan->ci))
|
||||
if (secureops.HasExt(chan->ci) && !user->IsProtected())
|
||||
// This overrides what chanserv does because it is loaded after chanserv
|
||||
take_modes = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user