mirror of
https://github.com/anope/anope.git
synced 2026-07-02 22:23:13 +02:00
Cleanup some excess whitespaces and tabs, and fix a few typos along the way.
This commit is contained in:
@@ -40,7 +40,7 @@ class CommandHelp : public Command
|
||||
FOREACH_RESULT(OnPreHelp, MOD_RESULT, (source, params));
|
||||
if (MOD_RESULT == EVENT_STOP)
|
||||
return;
|
||||
|
||||
|
||||
Anope::string source_command = source.command;
|
||||
const BotInfo *bi = source.service;
|
||||
const CommandInfo::map &map = source.c ? Config->Fantasy : bi->commands;
|
||||
@@ -149,7 +149,7 @@ class CommandHelp : public Command
|
||||
|
||||
if (hide_privileged_commands && !info.permission.empty() && !source.HasCommand(info.permission))
|
||||
continue;
|
||||
|
||||
|
||||
// Allow unregistered users to see help for commands that they explicitly request help for
|
||||
|
||||
const Anope::string &subcommand = params.size() > max ? params[max] : "";
|
||||
@@ -183,7 +183,7 @@ class CommandHelp : public Command
|
||||
if (helped == false)
|
||||
source.Reply(_("No help available for \002%s\002."), params[0].c_str());
|
||||
}
|
||||
|
||||
|
||||
FOREACH_MOD(OnPostHelp, (source, params));
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user