mirror of
https://github.com/anope/anope.git
synced 2026-06-12 19:14:47 +02:00
Don't apply secureops to users with chanserv/administration privilege, not protected
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) && !user->IsProtected())
|
||||
if (secureops.HasExt(chan->ci) && !user->HasPriv("chanserv/administration"))
|
||||
// This overrides what chanserv does because it is loaded after chanserv
|
||||
take_modes = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user