diff options
Diffstat (limited to 'src/core/ss_main.cpp')
-rw-r--r-- | src/core/ss_main.cpp | 6 |
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; |