summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby <robby@chatbelgie.be>2019-03-06 03:34:25 +0100
committerRobby <robby@chatbelgie.be>2019-03-06 03:34:25 +0100
commit02ac3a403cb973acf07f1253c6238b4f20ad5a01 (patch)
tree413928bcfa710a0a979e24e14e7d0ed278b86936
parente1e840a87db19d587e36bc86bbda2c464c02e1fc (diff)
Fix the ChanServ SET SUCCESSOR syntax to show that a nickname is optional.
-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 cd1b06ab1..e83ed5476 100644
--- a/modules/commands/cs_set.cpp
+++ b/modules/commands/cs_set.cpp
@@ -947,7 +947,7 @@ class CommandCSSetSuccessor : public Command
CommandCSSetSuccessor(Module *creator, const Anope::string &cname = "chanserv/set/successor") : Command(creator, cname, 1, 2)
{
this->SetDesc(_("Set the successor for a channel"));
- this->SetSyntax(_("\037channel\037 \037nick\037"));
+ this->SetSyntax(_("\037channel\037 [\037nick\037]"));
}
void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override