summaryrefslogtreecommitdiff
path: root/modules/chanserv/set.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/chanserv/set.cpp')
-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 7c7233b79..04ef208af 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())
+ if (chan->ci->IsSecureOps() && !user->IsProtected())
// This overrides what chanserv does because it is loaded after chanserv
take_modes = true;
}