diff options
author | Adam <Adam@anope.org> | 2017-11-19 16:11:35 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-11-19 16:11:35 -0500 |
commit | 2fda0fff4655e92e388d7823e5b1c1f0c6bcfe2d (patch) | |
tree | b2cde60f3c2c98782690d67d134263924f59cc78 /modules/nickserv/info.cpp | |
parent | 3fb9bb5118a5c3c6c916a48feed0e069867f3133 (diff) |
Add subcommand syntax help, and reference subcommand help in syntax error messages
Diffstat (limited to 'modules/nickserv/info.cpp')
-rw-r--r-- | modules/nickserv/info.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/nickserv/info.cpp b/modules/nickserv/info.cpp index 8969805cf..ea9337950 100644 --- a/modules/nickserv/info.cpp +++ b/modules/nickserv/info.cpp @@ -188,7 +188,7 @@ class CommandNSSetHide : public Command } else { - this->OnSyntaxError(source, "HIDE"); + this->OnSyntaxError(source); return; } @@ -211,7 +211,7 @@ class CommandNSSetHide : public Command source.Reply(offmsg, nc->GetDisplay(), source.service->nick); } else - this->OnSyntaxError(source, "HIDE"); + this->OnSyntaxError(source); } void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) override |