aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspp <none@none>2009-12-06 23:43:36 +0100
committerspp <none@none>2009-12-06 23:43:36 +0100
commit0a25c76c3179772e79488bd138a961365946fee7 (patch)
treef9083a29fdc2fbea685cdc3090b2d4ad8d68179d
parent5812971bac19fd3d805c0391d202541070a988df (diff)
Add missing table to AccountMgr::DeleteAccount, by azazel. Closes #521
--HG-- branch : trunk
-rw-r--r--src/game/AccountMgr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/AccountMgr.cpp b/src/game/AccountMgr.cpp
index b3c9a76e720..ed9f85d0eab 100644
--- a/src/game/AccountMgr.cpp
+++ b/src/game/AccountMgr.cpp
@@ -89,6 +89,7 @@ AccountOpResult AccountMgr::DeleteAccount(uint32 accid)
// table realm specific but common for all characters of account for realm
CharacterDatabase.PExecute("DELETE FROM character_tutorial WHERE account = '%u'",accid);
+ CharacterDatabase.PExecute("DELETE FROM account_data WHERE account = '%u'",accid);
loginDatabase.BeginTransaction();