From 9f9183afc4898fc176677623ece5051d95540923 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 3 Nov 2016 23:23:57 -0400 Subject: help: always use command name from config, which may be a different case --- modules/commands/help.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/help.cpp') diff --git a/modules/commands/help.cpp b/modules/commands/help.cpp index f6e459bde..7daf74dc4 100644 --- a/modules/commands/help.cpp +++ b/modules/commands/help.cpp @@ -153,7 +153,7 @@ class CommandHelp : public Command // Allow unregistered users to see help for commands that they explicitly request help for const Anope::string &subcommand = params.size() > max ? params[max] : ""; - source.command = full_command; + source.command = it->first; if (!c->OnHelp(source, subcommand)) continue; -- cgit