1
0
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:
DukePyrolator
2009-11-02 05:22:35 +00:00
parent d2362719b2
commit 9a0b1efc24
15 changed files with 60 additions and 42 deletions
-6
View File
@@ -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)
{