summaryrefslogtreecommitdiff
path: root/modules/commands/cs_set.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-11-16 10:20:35 -0500
committerAdam <Adam@anope.org>2013-11-16 10:20:35 -0500
commit316c280a571f83a468357ff0d6dabe2bab54f8b1 (patch)
tree86c67cc299599b1cad23eb08c1b12533f38ba271 /modules/commands/cs_set.cpp
parentcc2a999b4e3498eaf38b01e8034a98e5849e0ef4 (diff)
Add help for /cs set keepmodes
Diffstat (limited to 'modules/commands/cs_set.cpp')
-rw-r--r--modules/commands/cs_set.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/commands/cs_set.cpp b/modules/commands/cs_set.cpp
index 782e1d6a0..463318436 100644
--- a/modules/commands/cs_set.cpp
+++ b/modules/commands/cs_set.cpp
@@ -374,6 +374,16 @@ class CommandCSSetKeepModes : public Command
else
this->OnSyntaxError(source, "PEACE");
}
+
+ bool OnHelp(CommandSource &source, const Anope::string &) anope_override
+ {
+ this->SendSyntax(source);
+ source.Reply(" ");
+ source.Reply(_("Enables or disables keepmodes for the given channel. If keep\n"
+ "modes is enabled, services will remember modes set on the channel\n"
+ "and attempt to re-set them the next time the channel is created."));
+ return true;
+ }
};
class CommandCSSetPeace : public Command