diff options
author | Adam <Adam@anope.org> | 2012-02-22 18:12:02 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-02-22 18:12:02 -0500 |
commit | 3850b073ddf610415de54dced9ff134397779676 (patch) | |
tree | c1a464fba432a7a79535fac4c05cc46f8f19901e /src/modulemanager.cpp | |
parent | 81e50dd1f404c9bad008fe1b569dad134df91125 (diff) |
Added regex support for many commands, such as akill, sqline, snline,
all of the */list commands, etc.
Also extended the ability of akill to match a full nick!user@host and
real name of users.
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) |