1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 07:16:38 +02:00

Allow db_flatfile to be loadable first to import databases.

This commit is contained in:
Sadie Powell
2025-08-07 10:03:34 +01:00
parent 5e8561a7f1
commit 928d4260dc
-2
View File
@@ -80,8 +80,6 @@ public:
DBFlatFile(const Anope::string &modname, const Anope::string &creator)
: Module(modname, creator, DATABASE | DEPRECATED | VENDOR)
{
if (!ModuleManager::FindFirstOf(DATABASE, this))
throw ModuleException("db_flatfile is deprecated and can only import old databases.");
}
EventReturn OnLoadDatabase() override