diff options
author | megamage <none@none> | 2009-01-04 16:17:46 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-04 16:17:46 -0600 |
commit | eb5a7b02eef6fe13684dfe14faf048bbce1d0f83 (patch) | |
tree | 395bd3da004c0628956d64335ee0e2c404d4f772 /src/game/WorldSession.cpp | |
parent | 820e0214faf4645ef1bc411aa5cc581392db62db (diff) | |
parent | 15d25f45ae920a4418f3fcb1e6828c923a3aedc1 (diff) |
*Merge with Trinity 783.
--HG--
branch : trunk
Diffstat (limited to 'src/game/WorldSession.cpp')
-rw-r--r-- | src/game/WorldSession.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/WorldSession.cpp b/src/game/WorldSession.cpp index 581b44b9e95..231d7783d9e 100644 --- a/src/game/WorldSession.cpp +++ b/src/game/WorldSession.cpp @@ -328,7 +328,7 @@ void WorldSession::LogoutPlayer(bool Save) ///- Reset the online field in the account table // no point resetting online in character table here as Player::SaveToDB() will set it to 1 since player has not been removed from world at this stage //No SQL injection as AccountID is uint32 - loginDatabase.PExecute("UPDATE account SET online = 0 WHERE id = '%u'", GetAccountId()); + LoginDatabase.PExecute("UPDATE account SET online = 0 WHERE id = '%u'", GetAccountId()); ///- If the player is in a guild, update the guild roster and broadcast a logout message to other guild members Guild *guild = objmgr.GetGuildById(_player->GetGuildId()); |