summaryrefslogtreecommitdiff
path: root/src/core/ss_main.cpp
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2010-06-27 23:15:05 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2010-06-27 23:15:05 -0400
commit28e12bc24a9c85f4f0d1e37567618ec39cb501f6 (patch)
treecc70ebeef95a9d95174afe3ef038b0d673346f58 /src/core/ss_main.cpp
parent051ebe3eea0f8529b64c0e443c61103ba2f7dee8 (diff)
The next of a few "CBX OCDing over code style" commits, maybe the last.
NOTES: I have been unable to compile the db_mysql_* functions on my system here, so those are untested. db-convert seems to be badly programmed and needs more work in my opinion.
Diffstat (limited to 'src/core/ss_main.cpp')
-rw-r--r--src/core/ss_main.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/ss_main.cpp b/src/core/ss_main.cpp
index dc83c6e58..a48b77855 100644
--- a/src/core/ss_main.cpp
+++ b/src/core/ss_main.cpp
@@ -7,8 +7,6 @@
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
- *
- *
*/
#include "module.h"
@@ -53,10 +51,8 @@ class SSMain : public Module
{
if (statserv)
{
- for (std::map<ci::string, Command *>::iterator it = statserv->Commands.begin(); it != statserv->Commands.end(); ++it)
- {
+ for (std::map<ci::string, Command *>::iterator it = statserv->Commands.begin(), it_end = statserv->Commands.end(); it != it_end; ++it)
this->DelCommand(statserv, it->second);
- }
ircdproto->SendQuit(statserv, "Quit due to module unload.");
delete statserv;