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

db_sql: don't update objects pending creation as it duplicates it

This commit is contained in:
Adam
2016-10-16 18:50:22 -04:00
parent 1b67b97e93
commit 095751363d
+2
View File
@@ -210,6 +210,8 @@ class DBSQL : public Module, public Pipe
{
if (this->shutting_down || obj->IsTSCached())
return;
if (obj->id == 0)
return; /* object is pending creation */
obj->UpdateTS();
this->updated_items.insert(obj);
this->Notify();