1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 08:16:38 +02:00

When db_sql_live gets new objects immediately update cache on them to prevent rewriting later if they aren't changed

This commit is contained in:
Adam
2012-10-24 22:48:12 -04:00
parent 1057fa8421
commit 3b8fb7bb88
+1
View File
@@ -210,6 +210,7 @@ class DBMySQL : public Module, public Pipe
{
new_s->id = id;
obj->objects[id] = new_s;
new_s->UpdateCache(); /* We know this is the most up to date copy */
}
}
else