From 0a0f1aa30ba4e78fe8e30ddf12bd52795e4ca6af Mon Sep 17 00:00:00 2001 From: Road-block Date: Thu, 9 Jan 2025 01:23:25 +0200 Subject: [PATCH] fix bid links posting both modes --- BastionLoot.toc | 2 +- BastionLoot_Cata.toc | 2 +- BastionLoot_Vanilla.toc | 2 +- Modules/PlusRoll/bids.lua | 1 + Modules/bids.lua | 1 + 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/BastionLoot.toc b/BastionLoot.toc index c06d9e6..f79ab26 100644 --- a/BastionLoot.toc +++ b/BastionLoot.toc @@ -2,7 +2,7 @@ ## Author: Roadblock ## Title: BastionLoot ## Notes: In-game EPGP loot helper, supports standby, main/alt shared pool, minEP, offpecGP. Pluggable price list. Alternative +wincount mode. -## Version: 4.3.4 +## Version: 4.3.5 ## X-Alpha: ## X-Website: https://github.com/Road-block/BastionLoot/releases/latest ## OptionalDeps: Ace3, MizusRaidTracker diff --git a/BastionLoot_Cata.toc b/BastionLoot_Cata.toc index c06d9e6..f79ab26 100644 --- a/BastionLoot_Cata.toc +++ b/BastionLoot_Cata.toc @@ -2,7 +2,7 @@ ## Author: Roadblock ## Title: BastionLoot ## Notes: In-game EPGP loot helper, supports standby, main/alt shared pool, minEP, offpecGP. Pluggable price list. Alternative +wincount mode. -## Version: 4.3.4 +## Version: 4.3.5 ## X-Alpha: ## X-Website: https://github.com/Road-block/BastionLoot/releases/latest ## OptionalDeps: Ace3, MizusRaidTracker diff --git a/BastionLoot_Vanilla.toc b/BastionLoot_Vanilla.toc index d0ee67d..5923e0a 100644 --- a/BastionLoot_Vanilla.toc +++ b/BastionLoot_Vanilla.toc @@ -2,7 +2,7 @@ ## Author: Roadblock ## Title: BastionLoot ## Notes: In-game EPGP loot helper, supports standby, main/alt shared pool, minEP, offpecGP. Pluggable price list. Alternative +wincount mode. -## Version: 2.9.3 +## Version: 2.9.4 ## X-Alpha: ## X-Website: https://github.com/Road-block/BastionLoot/releases/latest ## OptionalDeps: Ace3, MizusRaidTracker diff --git a/Modules/PlusRoll/bids.lua b/Modules/PlusRoll/bids.lua index 892e5fa..bb50d6e 100644 --- a/Modules/PlusRoll/bids.lua +++ b/Modules/PlusRoll/bids.lua @@ -267,6 +267,7 @@ function bepgp_plusroll_bids:Toggle(anchor) end function bepgp_plusroll_bids:SetItemRef(link, text, button, chatFrame) + if bepgp.db.char.mode ~= "plusroll" then return end local linktype, addon, bid, masterlooter = strsplit(":",link) if linktype == "addon" and addon == addonName then if bid == "1" then diff --git a/Modules/bids.lua b/Modules/bids.lua index 67555bd..0074d65 100644 --- a/Modules/bids.lua +++ b/Modules/bids.lua @@ -402,6 +402,7 @@ function bepgp_bids:Toggle(anchor) end function bepgp_bids:SetItemRef(link, text, button, chatFrame) + if bepgp.db.char.mode ~= "epgp" then return end local linktype, addon, bid, masterlooter = strsplit(":",link) if linktype == "addon" and addon == addonName then if bid == "1" or bid == "5" then