1
0
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:
Sadie Powell
2025-08-08 14:12:56 +01:00
parent d15b8ee949
commit 003cb55409
3 changed files with 9 additions and 6 deletions
+2 -2
View File
@@ -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!");
}