From 1ab7d536491064656b76c319760bac369a8fabf4 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 17 Dec 2013 10:57:50 -0500 Subject: Set pending mode changes immediately when an object is removed from the mode stacker. And fix mlock creator from cs set persist on. --- modules/commands/cs_set.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/cs_set.cpp') 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"); 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. -- cgit