test msg refresh

This commit is contained in:
shoopea 2020-06-26 12:11:14 +02:00
parent bea624b185
commit e50ddc1af2

1
obj.go
View File

@ -447,6 +447,7 @@ func delObj(objId int64) error {
return errors.New("Can only delete cacheObjSubType[`msg_auction_announce`].")
}
log.Printf("delObj(%d)\n", objId)
cacheObjMsg.Delete(objId) // better delete from cache before, worst case we reload after
stmt, err := db.Prepare(`DELETE FROM obj WHERE id = ?`)