mirror of
https://github.com/anope/anope.git
synced 2026-07-02 05:46:38 +02:00
Store boolean extension items as DT_INT.
This commit is contained in:
@@ -190,6 +190,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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user