From 9285bb1863ad16e0de28e4cdcf51ffd1f95ca7c9 Mon Sep 17 00:00:00 2001 From: Winfidonarleyan Date: Tue, 17 Aug 2021 22:04:27 +0700 Subject: [PATCH] feat(Session): add support mute manager --- src/AuctionHouseBot.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/AuctionHouseBot.cpp b/src/AuctionHouseBot.cpp index 04bd16e..9135290 100644 --- a/src/AuctionHouseBot.cpp +++ b/src/AuctionHouseBot.cpp @@ -687,7 +687,8 @@ void AuctionHouseBot::Update() std::string accountName = "AuctionHouseBot" + std::to_string(AHBplayerAccount); - WorldSession _session(AHBplayerAccount, std::move(accountName), nullptr, SEC_PLAYER, sWorld->getIntConfig(CONFIG_EXPANSION), 0, LOCALE_enUS, 0, false, false, 0); + WorldSession _session(AHBplayerAccount, std::move(accountName), nullptr, SEC_PLAYER, sWorld->getIntConfig(CONFIG_EXPANSION), LOCALE_enUS, 0, false, false, 0); + Player _AHBplayer(&_session); _AHBplayer.Initialize(AHBplayerGUID); ObjectAccessor::AddObject(&_AHBplayer);