diff options
author | lethality <lethality@anope.org> | 2012-02-23 00:04:36 +0000 |
---|---|---|
committer | lethality <lethality@anope.org> | 2012-02-23 00:04:36 +0000 |
commit | f01aab5f9bf5c14162438d1707e6e6cd9730c703 (patch) | |
tree | 4df360cd61e7dd1fd749d90e9dbe9e3cf1d739af /src/modulemanager.cpp | |
parent | 826de43724d4584f9150a1fb8cebe8f49d9431a7 (diff) | |
parent | 3850b073ddf610415de54dced9ff134397779676 (diff) |
Merge branch '1.9' of ssh://anope.git.sf.net/gitroot/anope/anope into 1.9
Diffstat (limited to 'src/modulemanager.cpp')
-rw-r--r-- | src/modulemanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modulemanager.cpp b/src/modulemanager.cpp index d16b71cad..6837f7d1f 100644 --- a/src/modulemanager.cpp +++ b/src/modulemanager.cpp @@ -462,7 +462,7 @@ void ModuleManager::UnloadAll() { std::vector<Anope::string> modules[MT_END]; for (std::list<Module *>::iterator it = Modules.begin(), it_end = Modules.end(); it != it_end; ++it) - if ((*it)->type != PROTOCOL) + if ((*it)->type != PROTOCOL && !(*it)->GetPermanent()) modules[(*it)->type].push_back((*it)->name); for (size_t i = MT_BEGIN + 1; i != MT_END; ++i) |