summaryrefslogtreecommitdiff
path: root/modules/nickserv/list.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/nickserv/list.cpp
parent3fb9bb5118a5c3c6c916a48feed0e069867f3133 (diff)
Add subcommand syntax help, and reference subcommand help in syntax error messages
Diffstat (limited to 'modules/nickserv/list.cpp')
-rw-r--r--modules/nickserv/list.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/nickserv/list.cpp b/modules/nickserv/list.cpp
index 51f6a2941..69bef0c11 100644
--- a/modules/nickserv/list.cpp
+++ b/modules/nickserv/list.cpp
@@ -228,7 +228,7 @@ class CommandNSSetPrivate : public Command
source.Reply(_("Private option is now \002off\002 for \002{0}\002."), nc->GetDisplay());
}
else
- this->OnSyntaxError(source, "PRIVATE");
+ this->OnSyntaxError(source);
}
void Execute(CommandSource &source, const std::vector<Anope::string> &params) override