diff options
author | Adam <Adam@anope.org> | 2012-12-27 21:43:19 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-12-28 10:43:30 -0500 |
commit | 379b2ccf92b6124f2026a5ec683cfc98f08e223a (patch) | |
tree | 9cec160f53a579a83950656d5978301823f4312d /src | |
parent | 3fb4cf56b651eb500b1bbafb14c0d328d81e1f3c (diff) |
The timestamp column in SQL should actually be null sometimes, and fixed some valgrind errors with db_sql_live
Diffstat (limited to 'src')
-rw-r--r-- | src/serialize.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/serialize.cpp b/src/serialize.cpp index 0fff92fab..e03eb7ebd 100644 --- a/src/serialize.cpp +++ b/src/serialize.cpp @@ -88,10 +88,11 @@ void Serializable::Destroy() void Serializable::QueueUpdate() { - /* Check for modifications now */ - FOREACH_MOD(I_OnSerializeCheck, OnSerializeCheck(this->GetSerializableType())); /* Schedule updater */ FOREACH_MOD(I_OnSerializableUpdate, OnSerializableUpdate(this)); + + /* Check for modifications now - this can delete this object! */ + FOREACH_MOD(I_OnSerializeCheck, OnSerializeCheck(this->GetSerializableType())); } bool Serializable::IsCached(Serialize::Data *data) |