* Fix typo in .ticket assign. Thanks Sundark and Ogeraisi for pointing it out.
--HG-- branch : trunk
This commit is contained in:
+1
-1
@@ -498,7 +498,7 @@ bool ChatHandler::HandleGMTicketAssignToCommand(const char* args)
|
|||||||
}
|
}
|
||||||
uint64 tarGUID = objmgr.GetPlayerGUIDByName(targm.c_str());
|
uint64 tarGUID = objmgr.GetPlayerGUIDByName(targm.c_str());
|
||||||
uint64 accid = objmgr.GetPlayerAccountIdByGUID(tarGUID);
|
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();
|
Field * fields = result->Fetch();
|
||||||
uint32 gmlevel = fields[0].GetUInt32();
|
uint32 gmlevel = fields[0].GetUInt32();
|
||||||
|
|||||||
Reference in New Issue
Block a user