Main: use DatabasePlugin::RequireStorage()
This commit is contained in:
parent
bda77ffc5b
commit
12f4a8255a
@ -192,7 +192,7 @@ glue_db_init_and_load(const ConfigData &config)
|
|||||||
if (instance->database == nullptr)
|
if (instance->database == nullptr)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (instance->database->GetPlugin().flags & DatabasePlugin::FLAG_REQUIRE_STORAGE) {
|
if (instance->database->GetPlugin().RequireStorage()) {
|
||||||
InitStorage(config, instance->io_thread.GetEventLoop());
|
InitStorage(config, instance->io_thread.GetEventLoop());
|
||||||
|
|
||||||
if (instance->storage == nullptr) {
|
if (instance->storage == nullptr) {
|
||||||
|
Loading…
Reference in New Issue
Block a user