diff options
author | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-02 05:22:35 +0000 |
---|---|---|
committer | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-11-02 05:22:35 +0000 |
commit | 9a0b1efc24e84c7cf17a0e87c98fd1e22fe1c356 (patch) | |
tree | 3abf675a834d23b9064dce2333f7a2e5d0df336a /src/modulemanager.cpp | |
parent | d2362719b256f556b862a85dd73a806ccc2faebe (diff) |
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
Diffstat (limited to 'src/modulemanager.cpp')
-rw-r--r-- | src/modulemanager.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/modulemanager.cpp b/src/modulemanager.cpp index 35a2280a8..3058f216f 100644 --- a/src/modulemanager.cpp +++ b/src/modulemanager.cpp @@ -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) { |