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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user