summaryrefslogtreecommitdiff
path: root/modules/commands/cs_set_persist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_set_persist.cpp')
-rw-r--r--modules/commands/cs_set_persist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_set_persist.cpp b/modules/commands/cs_set_persist.cpp
index 4136a2fa2..4a1d676dd 100644
--- a/modules/commands/cs_set_persist.cpp
+++ b/modules/commands/cs_set_persist.cpp
@@ -99,7 +99,7 @@ class CommandCSSetPersist : public Command
if (ci->c && ci->c->HasMode(CMODE_PERM))
ci->c->RemoveMode(NULL, cm);
/* Remove from mlock */
- ci->RemoveMLock(cm);
+ ci->RemoveMLock(cm, true);
}
/* No channel mode, no BotServ, but using ChanServ as the botserv bot