summaryrefslogtreecommitdiff
path: root/modules/commands/cs_set.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-02-27 04:23:57 -0500
committerAdam <Adam@anope.org>2014-02-27 04:48:48 -0500
commit5adc8bfefc126aff32a88219409ec9131229d86a (patch)
tree70afe0b8c6b692cdc049ce3f8c988098b8a5fd08 /modules/commands/cs_set.cpp
parentabcf0cde5a6a28acf492cf158185861632d4ac44 (diff)
Do not take modes from users in channels with secureops off if we are always lowering channels timestamps to their creations
Diffstat (limited to 'modules/commands/cs_set.cpp')
-rw-r--r--modules/commands/cs_set.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/commands/cs_set.cpp b/modules/commands/cs_set.cpp
index 4ade813c1..5769adb30 100644
--- a/modules/commands/cs_set.cpp
+++ b/modules/commands/cs_set.cpp
@@ -1319,6 +1319,7 @@ class CSSet : public Module
if (noautoop.HasExt(chan->ci))
give_modes = false;
if (secureops.HasExt(chan->ci))
+ // This overrides what chanserv does because it is loaded after chanserv
take_modes = true;
}
}