Script/Commands: .account create will now grant the latest enabled expansion (Set in worldserver.conf

This commit is contained in:
Luth31
2016-08-11 23:57:41 +03:00
parent a73ad5cd6e
commit a1e8106622
2 changed files with 2 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ namespace AccountMgr
stmt->setString(0, username);
stmt->setString(1, CalculateShaPassHash(username, password));
stmt->setInt8(2, uint8(sWorld->getIntConfig(CONFIG_EXPANSION)));
LoginDatabase.Execute(stmt);