summaryrefslogtreecommitdiff
path: root/src/modulemanager.cpp
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864>2009-11-02 05:22:35 +0000
committerDukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864>2009-11-02 05:22:35 +0000
commit9a0b1efc24e84c7cf17a0e87c98fd1e22fe1c356 (patch)
tree3abf675a834d23b9064dce2333f7a2e5d0df336a /src/modulemanager.cpp
parentd2362719b256f556b862a85dd73a806ccc2faebe (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.cpp6
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)
{