diff options
Diffstat (limited to 'src/core/ns_help.cpp')
-rw-r--r-- | src/core/ns_help.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ns_help.cpp b/src/core/ns_help.cpp index 233c7252f..a9b40592f 100644 --- a/src/core/ns_help.cpp +++ b/src/core/ns_help.cpp @@ -42,7 +42,8 @@ class CommandNSHelp : public Command void OnSyntaxError(User *u, const ci::string &subcommand) { notice_help(Config.s_NickServ, u, NICK_HELP); - FOREACH_MOD(I_OnNickServHelp, OnNickServHelp(u)); + for (CommandMap::const_iterator it = NickServ->Commands.begin(); it != NickServ->Commands.end(); ++it) + it->second->OnServHelp(u); if (u->Account() && u->Account()->IsServicesOper()) notice_help(Config.s_NickServ, u, NICK_SERVADMIN_HELP); if (Config.NSExpire >= 86400) |