mirror of
https://github.com/anope/anope.git
synced 2026-06-26 09:36:38 +02:00
added a way to load multiple encryption modules at the same and to switch between encryption methods
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2602 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -245,12 +245,6 @@ int ModuleManager::LoadModule(const std::string &modname, User * u)
|
||||
alog("You cannot load two protocol modules");
|
||||
return MOD_STOP;
|
||||
}
|
||||
else if (m->type == ENCRYPTION && IsOneOfModuleTypeLoaded(ENCRYPTION))
|
||||
{
|
||||
DeleteModule(m);
|
||||
alog("You cannot load two encryption modules");
|
||||
return MOD_STOP;
|
||||
}
|
||||
|
||||
if (u)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user