Public bid window

This commit is contained in:
Horyoshi
2025-02-13 11:38:36 +01:00
committed by GitHub
parent 9cc1f1abf3
commit 4811b1c98a
+5
View File
@@ -1219,9 +1219,14 @@ function sepgp:addonComms(prefix, message, channel, sender)
return
end
-- Process BID messages from addon channel
if string.sub(message, 1, 4) == "BID;" then
local s, e, bidType, bidder = string.find(message, "BID;([^;]+);([^;]+)")
if bidType and bidder then
-- Check if this bidder's bid is already recorded; if so, ignore the duplicate.
if bids_blacklist[bidder] then
return
end
self:captureBid(bidType, bidder)
end
return