diff options
author | p0wer <none@none> | 2009-12-21 21:56:50 -0600 |
---|---|---|
committer | p0wer <none@none> | 2009-12-21 21:56:50 -0600 |
commit | 7e913d81c01a86d9ec4f1b02fc5037c8f3f6e3d2 (patch) | |
tree | e5b99166aa3d7ed8341a60b3a75ba8ef946b352f /src | |
parent | b4e1ee63550dc999ab0668793412497fc799f03f (diff) |
* Fix typo in .ticket assign. Thanks Sundark and Ogeraisi for pointing it out.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Level1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Level1.cpp b/src/game/Level1.cpp index d08980d7cb7..1d99b0d68e6 100644 --- a/src/game/Level1.cpp +++ b/src/game/Level1.cpp @@ -498,7 +498,7 @@ bool ChatHandler::HandleGMTicketAssignToCommand(const char* args) } uint64 tarGUID = objmgr.GetPlayerGUIDByName(targm.c_str()); uint64 accid = objmgr.GetPlayerAccountIdByGUID(tarGUID); - QueryResult *result = loginDatabase.PQuery("SELECT gmlevel RealmID FROM account_access WHERE id = '%u'", accid); + QueryResult *result = loginDatabase.PQuery("SELECT 'gmlevel', 'RealmID' FROM account_access WHERE id = '%u'", accid); Field * fields = result->Fetch(); uint32 gmlevel = fields[0].GetUInt32(); |