1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 04:26:37 +02:00

Simplify the db_sql_live code since this isn't actually necessary. Fixes a problem internally ovwrwriting data on objects that we have modified and are queued because of assigning something to a serialize_obj reference

This commit is contained in:
Adam
2012-10-12 04:04:14 -04:00
parent e08422a4ea
commit 76a0471c29
4 changed files with 11 additions and 50 deletions
+3
View File
@@ -122,6 +122,9 @@ 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));
}