summaryrefslogtreecommitdiff
path: root/modules/commands/cs_set.cpp
diff options
context:
space:
mode:
authorAdam <adam@sigterm.info>2019-03-05 08:10:04 -0500
committerGitHub <noreply@github.com>2019-03-05 08:10:04 -0500
commite1e840a87db19d587e36bc86bbda2c464c02e1fc (patch)
treeebc9f01125b84b24b797bec1d92cfdb227427fcf /modules/commands/cs_set.cpp
parenta4c37a373a1681db232aa40528ef09ad1a9b62a0 (diff)
parenteb66f9eda030b1692b19d5d60e7e2c79cbec74bb (diff)
Merge pull request #239 from SaberUK/2.0+set
Fix missing braces in cs_set.
Diffstat (limited to 'modules/commands/cs_set.cpp')
-rw-r--r--modules/commands/cs_set.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/commands/cs_set.cpp b/modules/commands/cs_set.cpp
index 07352fceb..cd1b06ab1 100644
--- a/modules/commands/cs_set.cpp
+++ b/modules/commands/cs_set.cpp
@@ -1024,11 +1024,13 @@ class CommandCSSetSuccessor : public Command
"channel will be dropped."));
unsigned max_reg = Config->GetModule("chanserv")->Get<unsigned>("maxregistered");
if (max_reg)
+ {
source.Reply(" ");
source.Reply(_("Note, however, if the successor already has too many\n"
"channels registered (%d), they will not be able to\n"
"become the new founder and it will be as if the\n"
"channel had no successor set."), max_reg);
+ }
return true;
}
};