summaryrefslogtreecommitdiff
path: root/src/core/os_help.cpp
diff options
context:
space:
mode:
authorAdam <Adam@drink-coca-cola.info>2010-05-30 17:21:44 -0400
committerAdam <Adam@anope.org>2010-06-18 21:04:09 -0400
commit6cd88494662c5c4af2da891926dcc82367596cb9 (patch)
tree59f67163abee4e7468a26b25f9cecca270f57b70 /src/core/os_help.cpp
parentb8f9116b19eb511c4f5e6a683725f50bf732a7dd (diff)
Moved the *Serv help functions to Command, will come in use later with subcommands
Diffstat (limited to 'src/core/os_help.cpp')
-rw-r--r--src/core/os_help.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/os_help.cpp b/src/core/os_help.cpp
index 8e9893407..d6f9001b4 100644
--- a/src/core/os_help.cpp
+++ b/src/core/os_help.cpp
@@ -30,7 +30,8 @@ class CommandOSHelp : public Command
void OnSyntaxError(User *u, const ci::string &subcommand)
{
notice_help(Config.s_OperServ, u, OPER_HELP);
- FOREACH_MOD(I_OnOperServHelp, OnOperServHelp(u));
+ for (CommandMap::const_iterator it = NickServ->Commands.begin(); it != NickServ->Commands.end(); ++it)
+ it->second->OnServHelp(u);
notice_help(Config.s_OperServ, u, OPER_HELP_LOGGED);
}
};