summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/channels.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/channels.h b/include/channels.h
index f4045f02e..54a85426b 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -253,7 +253,7 @@ class CoreExport Channel : public Extensible, public Flags<ChannelFlags>
* @param mode the modes
* @param EnforceMLock true to enforce mlock
*/
- void SetModesInternal(User *setter, const Anope::string &mode, bool EnforceMLock = false);
+ void SetModesInternal(User *setter, const Anope::string &mode, bool EnforceMLock = true);
/** Kick a user from a channel internally
* @param source The sender of the kick