summaryrefslogtreecommitdiff
path: root/modules/commands/help.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-11-03 23:23:57 -0400
committerAdam <Adam@anope.org>2016-11-03 23:23:57 -0400
commit9f9183afc4898fc176677623ece5051d95540923 (patch)
tree0b4bdfd496b227f468dc7122c86c3d548335c3ca /modules/commands/help.cpp
parentef32505633ad40bd3937edfa739f6b13ecdda599 (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.cpp2
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;