diff options
author | Adam <Adam@anope.org> | 2016-11-03 23:23:57 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-11-03 23:23:57 -0400 |
commit | 9f9183afc4898fc176677623ece5051d95540923 (patch) | |
tree | 0b4bdfd496b227f468dc7122c86c3d548335c3ca /modules/commands/help.cpp | |
parent | ef32505633ad40bd3937edfa739f6b13ecdda599 (diff) |
help: always use command name from config, which may be a different case
Diffstat (limited to 'modules/commands/help.cpp')
-rw-r--r-- | modules/commands/help.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |