mirror of
https://github.com/anope/anope.git
synced 2026-06-29 00:26:39 +02:00
Skip serializing data without a type in db_flatfile.
This commit is contained in:
@@ -324,6 +324,8 @@ class DBFlatFile : public Module, public Pipe
|
||||
{
|
||||
Serializable *base = *it;
|
||||
Serialize::Type *s_type = base->GetSerializableType();
|
||||
if (!s_type)
|
||||
continue;
|
||||
|
||||
data.fs = databases[s_type->GetOwner()];
|
||||
if (!data.fs || !data.fs->is_open())
|
||||
|
||||
Reference in New Issue
Block a user