1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 17:04:47 +02:00

Initialize the HostOffer type before the HostOffer list.

This commit is contained in:
Sadie Powell
2025-11-20 19:14:09 +00:00
parent e4eb3f1cc5
commit e62ca67d2e
+2 -2
View File
@@ -215,7 +215,7 @@ public:
data["expires"] << ho->expires;
}
Serializable* Unserialize(Serializable *obj, Serialize::Data &data) const override
Serializable *Unserialize(Serializable *obj, Serialize::Data &data) const override
{
HostOffer *ho;
if (obj)
@@ -913,8 +913,8 @@ class HSOffer final
: public Module
{
private:
HostOfferList hostoffers;
HostOfferType hostoffer_type;
HostOfferList hostoffers;
CommandHSOffer commandhsoffer;
CommandHSOfferList commandhsofferlist;