summaryrefslogtreecommitdiff
path: root/modules/chanserv/set.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-11-19 16:11:35 -0500
committerAdam <Adam@anope.org>2017-11-19 16:11:35 -0500
commit2fda0fff4655e92e388d7823e5b1c1f0c6bcfe2d (patch)
treeb2cde60f3c2c98782690d67d134263924f59cc78 /modules/chanserv/set.cpp
parent3fb9bb5118a5c3c6c916a48feed0e069867f3133 (diff)
Add subcommand syntax help, and reference subcommand help in syntax error messages
Diffstat (limited to 'modules/chanserv/set.cpp')
-rw-r--r--modules/chanserv/set.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/modules/chanserv/set.cpp b/modules/chanserv/set.cpp
index dbe17f0ab..c6df83cbe 100644
--- a/modules/chanserv/set.cpp
+++ b/modules/chanserv/set.cpp
@@ -33,7 +33,7 @@ class CommandCSSet : public Command
void Execute(CommandSource &source, const std::vector<Anope::string> &params) override
{
- this->OnSyntaxError(source, "");
+ this->OnSyntaxError(source);
}
bool OnHelp(CommandSource &source, const Anope::string &subcommand) override
@@ -128,7 +128,7 @@ class CommandCSSetAutoOp : public Command
}
else
{
- this->OnSyntaxError(source, "AUTOOP");
+ this->OnSyntaxError(source);
}
}
@@ -401,7 +401,7 @@ class CommandCSSetKeepModes : public Command
}
else
{
- this->OnSyntaxError(source, "KEEPMODES");
+ this->OnSyntaxError(source);
}
}
@@ -466,7 +466,7 @@ class CommandCSSetPeace : public Command
}
else
{
- this->OnSyntaxError(source, "PEACE");
+ this->OnSyntaxError(source);
}
}
@@ -605,7 +605,7 @@ class CommandCSSetPersist : public Command
}
else
{
- this->OnSyntaxError(source, "PERSIST");
+ this->OnSyntaxError(source);
}
}
@@ -671,7 +671,7 @@ class CommandCSSetRestricted : public Command
}
else
{
- this->OnSyntaxError(source, "RESTRICTED");
+ this->OnSyntaxError(source);
}
}
@@ -736,7 +736,7 @@ class CommandCSSetSecureFounder : public Command
}
else
{
- this->OnSyntaxError(source, "SECUREFOUNDER");
+ this->OnSyntaxError(source);
}
}
@@ -806,7 +806,7 @@ class CommandCSSetSecureOps : public Command
}
else
{
- this->OnSyntaxError(source, "SECUREOPS");
+ this->OnSyntaxError(source);
}
}
@@ -882,7 +882,7 @@ class CommandCSSetSignKick : public Command
}
else
{
- this->OnSyntaxError(source, "SIGNKICK");
+ this->OnSyntaxError(source);
}
}
@@ -1024,7 +1024,7 @@ class CommandCSSetNoexpire : public Command
}
else
{
- this->OnSyntaxError(source, "NOEXPIRE");
+ this->OnSyntaxError(source);
}
}