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/init.c | |
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/init.c')
-rw-r--r-- | src/init.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/init.c b/src/init.c index 4acf9540d..c7d733e4e 100644 --- a/src/init.c +++ b/src/init.c @@ -386,10 +386,8 @@ int init_primary(int ac, char **av) return -1; } - /* Add Encryption Module; exit if there are errors */ - if (encryption_module_init()) { - return -1; - } + /* Add Encryption Modules */ + ModuleManager::LoadModuleList(EncModulesNumber, EncModuleList); return 0; } |