1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 06:56:38 +02:00

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.
This commit is contained in:
Adam
2012-11-30 02:49:09 -05:00
parent 337f361526
commit a4468dd56e
15 changed files with 688 additions and 966 deletions
-2
View File
@@ -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;