summaryrefslogtreecommitdiff
path: root/src/core/hs_help.cpp
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2010-06-26 01:38:19 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2010-06-26 01:38:19 -0400
commit6dc3af5db41ecb24669b259c776c51964539d531 (patch)
treee710d022742ad2bf0723c5806afd6a3cc091ba62 /src/core/hs_help.cpp
parente447933c02eac8013f84cb00751a8e1411ddb1b6 (diff)
The next of a few "CBX OCDing over code style" commits, focusing on src/core/hs_* and src/core/ms_*, plus some tiny fallout caused by changing the FOREACH_* macros.
Diffstat (limited to 'src/core/hs_help.cpp')
-rw-r--r--src/core/hs_help.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/hs_help.cpp b/src/core/hs_help.cpp
index 5cc7e5129..a6029d5a0 100644
--- a/src/core/hs_help.cpp
+++ b/src/core/hs_help.cpp
@@ -7,9 +7,8 @@
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
- *
- *
*/
+
/*************************************************************************/
#include "module.h"
@@ -31,7 +30,7 @@ class CommandHSHelp : public Command
void OnSyntaxError(User *u, const ci::string &subcommand)
{
notice_help(Config.s_HostServ, u, HOST_HELP, Config.s_HostServ);
- for (CommandMap::const_iterator it = ChanServ->Commands.begin(); it != ChanServ->Commands.end(); ++it)
+ for (CommandMap::const_iterator it = HostServ->Commands.begin(), it_end = HostServ->Commands.end(); it != it_end; ++it)
it->second->OnServHelp(u);
}
};