aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Accounts/BattlenetAccountMgr.cpp
diff options
context:
space:
mode:
authorDDuarte <dnpd.dd@gmail.com>2014-11-10 00:49:42 +0000
committerDDuarte <dnpd.dd@gmail.com>2014-11-10 00:49:42 +0000
commit4081d7d92f6ecb7f8c3b8000e1241b88adfe67ab (patch)
tree0e1be9064473584c56224c9dc9c488cf453c2115 /src/server/game/Accounts/BattlenetAccountMgr.cpp
parent0c27ffaa49c7e3e6880051ac74581cae51d83351 (diff)
Build fix
Diffstat (limited to 'src/server/game/Accounts/BattlenetAccountMgr.cpp')
-rw-r--r--src/server/game/Accounts/BattlenetAccountMgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Accounts/BattlenetAccountMgr.cpp b/src/server/game/Accounts/BattlenetAccountMgr.cpp
index 6048a1e2b98..8144f28c3e5 100644
--- a/src/server/game/Accounts/BattlenetAccountMgr.cpp
+++ b/src/server/game/Accounts/BattlenetAccountMgr.cpp
@@ -101,7 +101,7 @@ AccountOpResult Battlenet::AccountMgr::LinkWithGameAccount(std::string const& em
PreparedStatement* stmt = LoginDatabase.GetPreparedStatement(LOGIN_UPD_BNET_GAME_ACCOUNT_LINK);
stmt->setUInt32(0, bnetAccountId);
stmt->setUInt8(1, GetMaxIndex(bnetAccountId) + 1);
- stmt->setUInt32(gameAccountId);
+ stmt->setUInt32(2, gameAccountId);
LoginDatabase.Execute(stmt);
return AccountOpResult::AOR_OK;
}
@@ -118,7 +118,7 @@ AccountOpResult Battlenet::AccountMgr::UnlinkGameAccount(std::string const& game
PreparedStatement* stmt = LoginDatabase.GetPreparedStatement(LOGIN_UPD_BNET_GAME_ACCOUNT_LINK);
stmt->setNull(0);
stmt->setNull(1);
- stmt->setUInt32(gameAccountId);
+ stmt->setUInt32(2, gameAccountId);
LoginDatabase.Execute(stmt);
return AccountOpResult::AOR_OK;
}