*Fix build.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-29 01:00:15 -05:00
parent a2b12f3ae8
commit c5f7ab377d
2 changed files with 2 additions and 2 deletions

View File

@@ -771,7 +771,7 @@ void AuctionHouseBot()
if ((!AHBSeller) && (!AHBBuyer))
return;
WorldSession _session(AHBplayerAccount, NULL, 0, true, 0, LOCALE_enUS);
WorldSession _session(AHBplayerAccount, NULL, SEC_PLAYER, true, 0, LOCALE_enUS);
Player _AHBplayer(&_session);
_AHBplayer.MinimalLoadFromDB(NULL, AHBplayerGUID);
ObjectAccessor::Instance().AddObject(&_AHBplayer);