mirror of
https://github.com/anope/anope.git
synced 2026-06-26 07:56:39 +02:00
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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user