summaryrefslogtreecommitdiff
path: root/include/regchannel.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-18 20:06:02 -0400
committerAdam <Adam@anope.org>2012-10-18 20:06:02 -0400
commit727c3d5b7513a909038553a227552a33dc52d885 (patch)
tree088af36ee6bcf9ea303fde68e449cfb963412f5c /include/regchannel.h
parenteddb7684c1b3608d0502535e9426dd586a5c173d (diff)
Base has to destruct before Extensible does because objects that destruct due to Extensible destructing don't have their references to the already destroyed object for Base invalidated
Diffstat (limited to 'include/regchannel.h')
-rw-r--r--include/regchannel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/regchannel.h b/include/regchannel.h
index 0f5bb022a..12ef308b4 100644
--- a/include/regchannel.h
+++ b/include/regchannel.h
@@ -163,7 +163,8 @@ struct CoreExport LogSetting : Serializable
static Serializable* unserialize(Serializable *obj, Serialize::Data &);
};
-class CoreExport ChannelInfo : public Extensible, public Flags<ChannelInfoFlag, CI_END>, public Serializable
+/* It matters that Base is here before Extensible (it is inherited by Serializable) */
+class CoreExport ChannelInfo : public Serializable, public Extensible, public Flags<ChannelInfoFlag, CI_END>
{
private:
serialize_obj<NickCore> founder; /* Channel founder */