mirror of
https://github.com/anope/anope.git
synced 2026-06-26 15:16:38 +02:00
Fix showing the MORE_INFO message.
This commit is contained in:
+1
-1
@@ -215,7 +215,7 @@ void Command::OnSyntaxError(CommandSource &source, const Anope::string &subcomma
|
||||
// The help command may not be called HELP.
|
||||
return cmd.second.name == "generic/help";
|
||||
});
|
||||
if (it == source.service->commands.end())
|
||||
if (it != source.service->commands.end())
|
||||
source.Reply(MORE_INFO, source.service->GetQueryCommand("generic/help", source.command).c_str());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user