aboutsummaryrefslogtreecommitdiff
path: root/src/game/CharacterHandler.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-09-02 16:22:32 -0500
committermegamage <none@none>2009-09-02 16:22:32 -0500
commit790c5348a33ad28422e9356e598bf7084b0159b6 (patch)
tree78b79b129c84c9f184f00ce9c152965bc43a65a8 /src/game/CharacterHandler.cpp
parent0c0a7b6b0ee55aa1c58a82b2afdc48614f3342bc (diff)
[8445] Fixed redundant calculation of v and s on every login Author: arrai
The SRP-6 specifications clearly say, that v and s are only to be calculated on registering a user and changing his password; calculating them on every login is plain waste. --HG-- branch : trunk
Diffstat (limited to 'src/game/CharacterHandler.cpp')
-rw-r--r--src/game/CharacterHandler.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/game/CharacterHandler.cpp b/src/game/CharacterHandler.cpp
index 7ce02dc6a77..becf81d9c04 100644
--- a/src/game/CharacterHandler.cpp
+++ b/src/game/CharacterHandler.cpp
@@ -126,9 +126,6 @@ class CharacterHandler
void WorldSession::HandleCharEnum(QueryResult * result)
{
- // keys can be non cleared if player open realm list and close it by 'cancel'
- loginDatabase.PExecute("UPDATE account SET v = '0', s = '0' WHERE id = '%u'", GetAccountId());
-
WorldPacket data(SMSG_CHAR_ENUM, 100); // we guess size
uint8 num = 0;