1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 09:16:37 +02:00

Pretty large coding style cleanup, in source doc

cleanup, and allow protocol mods to depend on each
other
This commit is contained in:
Adam
2012-11-22 00:50:33 -05:00
parent 368d469631
commit d33a0f75a5
303 changed files with 7880 additions and 9388 deletions
+4 -3
View File
@@ -41,11 +41,12 @@ class CommandHelp : public Command
const CommandInfo &info = it->second;
// Smaller command exists
Anope::string cmd = myStrGetToken(c_name, ' ', 0);
Anope::string cmd;
spacesepstream(c_name).GetToken(cmd, 0);
if (cmd != it->first && map.count(cmd))
continue;
service_reference<Command> c("Command", info.name);
ServiceReference<Command> c("Command", info.name);
if (!c)
continue;
else if (!Config->HidePrivilegedCommands)
@@ -76,7 +77,7 @@ class CommandHelp : public Command
const CommandInfo &info = it->second;
service_reference<Command> c("Command", info.name);
ServiceReference<Command> c("Command", info.name);
if (!c)
continue;
else if (!Config->HidePrivilegedCommands)