summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-04-07 15:01:29 -0400
committerAdam <Adam@anope.org>2017-04-07 15:01:29 -0400
commit6eb9091d842cdba511445fa0c16d95f9e78f0afd (patch)
tree614a03115f6bd0edaa22aae729770bbb53a23721 /modules
parentc6a9abe79208bb2edfd6e886764dc394bf6b3aef (diff)
parentef9c69f99dfc8f1a7597ed1cbf58ca075d6bc8b9 (diff)
Merge commit 'ef9c69f99dfc8f1a7597ed1cbf58ca075d6bc8b9'
Diffstat (limited to 'modules')
-rw-r--r--modules/chanserv/set.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chanserv/set.cpp b/modules/chanserv/set.cpp
index 04ef208af..0a3532218 100644
--- a/modules/chanserv/set.cpp
+++ b/modules/chanserv/set.cpp
@@ -1280,7 +1280,7 @@ class CSSet : public Module
{
if (chan->ci->IsNoAutoop())
give_modes = false;
- if (chan->ci->IsSecureOps() && !user->IsProtected())
+ if (chan->ci->IsSecureOps() && !user->HasPriv("chanserv/administration"))
// This overrides what chanserv does because it is loaded after chanserv
take_modes = true;
}