From 2fda0fff4655e92e388d7823e5b1c1f0c6bcfe2d Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 19 Nov 2017 16:11:35 -0500 Subject: Add subcommand syntax help, and reference subcommand help in syntax error messages --- modules/hostserv/set.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/hostserv/set.cpp') diff --git a/modules/hostserv/set.cpp b/modules/hostserv/set.cpp index 4b506165e..15f05784e 100644 --- a/modules/hostserv/set.cpp +++ b/modules/hostserv/set.cpp @@ -30,7 +30,7 @@ class CommandHSSet : public Command void Execute(CommandSource &source, const std::vector ¶ms) override { - this->OnSyntaxError(source, ""); + this->OnSyntaxError(source); } bool OnHelp(CommandSource &source, const Anope::string &subcommand) override -- cgit