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

Magiobiwan is silly

This commit is contained in:
Adam
2013-02-14 01:24:29 -05:00
parent 7656c25e38
commit f6ef706909
+3 -1
View File
@@ -155,8 +155,10 @@ class DBMySQL : public Module, public Pipe
return;
Serialize::Type *s_type = obj->GetSerializableType();
if (s_type)
{
this->RunQuery("DELETE FROM `" + this->prefix + s_type->GetName() + "` WHERE `id` = " + stringify(obj->id));
s_type->objects.erase(obj->id);
s_type->objects.erase(obj->id);
}
this->updated_items.erase(obj);
}