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