1
0
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:
Robby
2017-01-17 05:03:25 +01:00
parent 464093d36e
commit 76ce8ece1a
204 changed files with 442 additions and 550 deletions
+3 -3
View File
@@ -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;