diff options
author | Adam <Adam@drink-coca-cola.info> | 2010-05-30 17:21:44 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-06-18 21:04:09 -0400 |
commit | 6cd88494662c5c4af2da891926dcc82367596cb9 (patch) | |
tree | 59f67163abee4e7468a26b25f9cecca270f57b70 /src/core/ns_help.cpp | |
parent | b8f9116b19eb511c4f5e6a683725f50bf732a7dd (diff) |
Moved the *Serv help functions to Command, will come in use later with subcommands
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) |