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:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user