* Fix typo in .ticket assign. Thanks Sundark and Ogeraisi for pointing it out.

--HG--
branch : trunk
This commit is contained in:
p0wer
2009-12-21 21:56:50 -06:00
parent b4e1ee6355
commit 7e913d81c0
+1 -1
View File
@@ -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();