diff options
author | Machiavelli <none@none> | 2009-06-08 20:56:24 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2009-06-08 20:56:24 +0200 |
commit | 79c15a3d7550773dbb0debb17a5340016fea2bb5 (patch) | |
tree | 121413d73c8222bc6096cbc3b27fcb1b7196c298 | |
parent | 5ae74c5b589ff6530d0258bb77d32f4cba03020e (diff) |
Remove unneeded query for renaming characters that are online, this is handled perfectly with the Player::SetAtLoginFlag and Player::SaveToDB functions already.
--HG--
branch : trunk
-rw-r--r-- | src/game/Level2.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game/Level2.cpp b/src/game/Level2.cpp index fc6e8a51a74..4caa6f29578 100644 --- a/src/game/Level2.cpp +++ b/src/game/Level2.cpp @@ -3102,7 +3102,6 @@ bool ChatHandler::HandleRenameCommand(const char* args) { PSendSysMessage(LANG_RENAME_PLAYER, target->GetName()); target->SetAtLoginFlag(AT_LOGIN_RENAME); - CharacterDatabase.PExecute("UPDATE characters SET at_login = at_login | '1' WHERE guid = '%u'", target->GetGUIDLow()); } else { |