summaryrefslogtreecommitdiff
path: root/modules/commands/cs_set.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-12-17 10:57:50 -0500
committerAdam <Adam@anope.org>2013-12-17 10:58:02 -0500
commit1ab7d536491064656b76c319760bac369a8fabf4 (patch)
tree24e514464ebd271f09b38a4b50f6b8a41b90ac8f /modules/commands/cs_set.cpp
parentd709c819d2342aebc1708d13db890f1c1fcf19cb (diff)
Set pending mode changes immediately when an object is removed from the mode stacker. And fix mlock creator from cs set persist on.
Diffstat (limited to 'modules/commands/cs_set.cpp')
-rw-r--r--modules/commands/cs_set.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_set.cpp b/modules/commands/cs_set.cpp
index 9db73decf..d32669701 100644
--- a/modules/commands/cs_set.cpp
+++ b/modules/commands/cs_set.cpp
@@ -523,7 +523,7 @@ class CommandCSSetPersist : public Command
/* Add it to the channels mlock */
ModeLocks *ml = ci->Require<ModeLocks>("modelocks");
if (ml)
- ml->SetMLock(cm, true);
+ ml->SetMLock(cm, true, "", source.GetNick());
}
/* No botserv bot, no channel mode, give them ChanServ.
* Yes, this works fine with no BotServ.