mirror of
https://github.com/anope/anope.git
synced 2026-06-29 06:56:39 +02:00
Skip deprecated modules when checking for a database/encryption backend.
This commit is contained in:
+2
-2
@@ -557,10 +557,10 @@ bool Anope::Init(int ac, char **av)
|
||||
|
||||
if (!Anope::NoDB)
|
||||
{
|
||||
if (!ModuleManager::FindFirstOf(DATABASE))
|
||||
if (!ModuleManager::FindFirstOf(DATABASE, true))
|
||||
throw CoreException("You must load a non-deprecated database module!");
|
||||
|
||||
if (!ModuleManager::FindFirstOf(ENCRYPTION))
|
||||
if (!ModuleManager::FindFirstOf(ENCRYPTION, true))
|
||||
throw CoreException("You must load a non-deprecated encryption module!");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user