From 928d4260dceb1e683a82900507f81b0effc93c13 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 7 Aug 2025 10:03:34 +0100 Subject: [PATCH] Allow db_flatfile to be loadable first to import databases. --- modules/database/db_flatfile.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/database/db_flatfile.cpp b/modules/database/db_flatfile.cpp index 8953afb1f..0f53e6afd 100644 --- a/modules/database/db_flatfile.cpp +++ b/modules/database/db_flatfile.cpp @@ -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