Skip to content

Commit 80b08a5

Browse files
authored
Fix WorldSession constructor parameter in AuctionHouseBot (#153)
Added missing parameter '0' to the WorldSession constructor call in AuctionHouseBot::Update to match the updated constructor signature.
1 parent 069773c commit 80b08a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/AuctionHouseBot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ void AuctionHouseBot::Update()
10281028

10291029
std::string accountName = "AuctionHouseBot" + std::to_string(_account);
10301030

1031-
WorldSession _session(_account, std::move(accountName), nullptr, SEC_PLAYER, sWorld->getIntConfig(CONFIG_EXPANSION), 0, LOCALE_enUS, 0, false, false, 0);
1031+
WorldSession _session(_account, std::move(accountName), 0, nullptr, SEC_PLAYER, sWorld->getIntConfig(CONFIG_EXPANSION), 0, LOCALE_enUS, 0, false, false, 0);
10321032

10331033
Player _AHBplayer(&_session);
10341034
_AHBplayer.Initialize(_id);

0 commit comments

Comments
 (0)