summaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-11-30 02:49:09 -0500
committerAdam <Adam@anope.org>2012-11-30 02:53:03 -0500
commita4468dd56e96ea915d40627f3cb067084238e34a (patch)
treea8a497965346e55eeb79fc56797da6bea81bf841 /src/init.cpp
parent337f3615264f30d4c9f06653d2dd2a21805546ce (diff)
Allow modules to use the encryption modules to encrypt arbitrary things.
Made enc_old depend on enc_md5. Allow not loading any encryption modules if you want to only use an external mechanism. Removed ns_sendpass since it's just a bad idea.
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/init.cpp b/src/init.cpp
index e831351ec..e45d2a6f9 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -451,8 +451,6 @@ void Anope::Init(int ac, char **av)
Module *protocol = ModuleManager::FindFirstOf(PROTOCOL);
if (protocol == NULL)
throw CoreException("You must load a protocol module!");
- else if (ModuleManager::FindFirstOf(ENCRYPTION) == NULL)
- throw CoreException("You must load at least one encryption module");
Log() << "Using IRCd protocol " << protocol->name;