summaryrefslogtreecommitdiff
path: root/src/core/ns_help.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ns_help.cpp')
-rw-r--r--src/core/ns_help.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/ns_help.cpp b/src/core/ns_help.cpp
index b212d5498..423cc5c75 100644
--- a/src/core/ns_help.cpp
+++ b/src/core/ns_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"
@@ -42,7 +41,7 @@ class CommandNSHelp : public Command
void OnSyntaxError(User *u, const ci::string &subcommand)
{
notice_help(Config.s_NickServ, u, NICK_HELP);
- for (CommandMap::const_iterator it = NickServ->Commands.begin(); it != NickServ->Commands.end(); ++it)
+ for (CommandMap::const_iterator it = NickServ->Commands.begin(), it_end = NickServ->Commands.end(); it != it_end; ++it)
it->second->OnServHelp(u);
if (u->Account() && u->Account()->IsServicesOper())
notice_help(Config.s_NickServ, u, NICK_SERVADMIN_HELP);