Skip to content

Commit

Permalink
Fix serialising boolean extension items.
Browse files Browse the repository at this point in the history
  • Loading branch information
SadieCat committed Nov 11, 2024
1 parent 98c840e commit ee16084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/extensible.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ class SerializableExtensibleItem<bool> : public PrimitiveExtensibleItem<bool>
void ExtensibleSerialize(const Extensible *e, const Serializable *s, Serialize::Data &data) const anope_override
{
data.SetType(this->name, Serialize::Data::DT_INT);
data[this->name] << true;
data[this->name] << this->HasExt(e);
}

void ExtensibleUnserialize(Extensible *e, Serializable *s, Serialize::Data &data) anope_override
Expand Down

0 comments on commit ee16084

Please sign in to comment.