From 610bb282babc1580fb0ec4fd1c78ebb48df864d0 Mon Sep 17 00:00:00 2001 From: Jaytapp <47534419+Jaytapp@users.noreply.github.com> Date: Fri, 17 Jan 2025 08:55:37 -0500 Subject: [PATCH] Update AuctionHouseBotConfig.cpp Fix Bug: wrong variable read from the config #123 from azerothcore / mod-ah-bot https://github.com/azerothcore/mod-ah-bot/issues/123 Fix copy paste typo when reading config for ElapsingTimeClass --- src/AuctionHouseBotConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AuctionHouseBotConfig.cpp b/src/AuctionHouseBotConfig.cpp index 11b09c2..bde3737 100644 --- a/src/AuctionHouseBotConfig.cpp +++ b/src/AuctionHouseBotConfig.cpp @@ -2045,7 +2045,7 @@ void AHBConfig::InitializeFromFile() MarketResetThreshold = sConfigMgr->GetOption("AuctionHouseBot.MarketResetThreshold" , 25); DuplicatesCount = sConfigMgr->GetOption("AuctionHouseBot.DuplicatesCount" , 0); DivisibleStacks = sConfigMgr->GetOption ("AuctionHouseBot.DivisibleStacks" , false); - ElapsingTimeClass = sConfigMgr->GetOption("AuctionHouseBot.DuplicatesCount" , 1); + ElapsingTimeClass = sConfigMgr->GetOption("AuctionHouseBot.ElapsingTimeClass" , 1); ConsiderOnlyBotAuctions = sConfigMgr->GetOption ("AuctionHouseBot.ConsiderOnlyBotAuctions", false); ItemsPerCycle = sConfigMgr->GetOption("AuctionHouseBot.ItemsPerCycle" , 200);