From 16383d809d2a9763c3c3a1f7b4ec3233ece57972 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Sun, 11 Dec 2016 10:18:56 +0100 Subject: [PATCH] post listing bugfix --- tabs/post/core.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tabs/post/core.lua b/tabs/post/core.lua index 5cc2e73..54cfb8e 100644 --- a/tabs/post/core.lua +++ b/tabs/post/core.lua @@ -496,10 +496,11 @@ function record_auction(key, aux_quantity, unit_blizzard_bid, unit_buyout_price, entry.count = entry.count + 1 end buyout_records[key] = buyout_records[key] or T + if unit_buyout_price == 0 then return end do local entry for _, record in buyout_records[key] do - if unit_buyout_price > 0 and unit_buyout_price == record.unit_price and aux_quantity == record.stack_size and duration == record.duration and is_player(owner) == record.own then + if unit_buyout_price == record.unit_price and aux_quantity == record.stack_size and duration == record.duration and is_player(owner) == record.own then entry = record end end