summaryrefslogtreecommitdiff
path: root/src/core/os_help.cpp
diff options
context:
space:
mode:
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);
}
};