diff options
author | Blaymoira <none@none> | 2009-01-04 17:20:23 +0100 |
---|---|---|
committer | Blaymoira <none@none> | 2009-01-04 17:20:23 +0100 |
commit | c9f0d4292afa4b468728c456f7ec0f56d8d15c62 (patch) | |
tree | cec65105e31ae59f4867e002855244f81cd43f0d /src/game/WorldSession.cpp | |
parent | c4401376ab510c48cccf0b95cb52c79b038bec5b (diff) |
*Cleaned up database queries - by XTZGZoReX
--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 47e1334198e..f2e08969a96 100644 --- a/src/game/WorldSession.cpp +++ b/src/game/WorldSession.cpp @@ -324,7 +324,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()); |