[0100] Fixed GM List command. Now properly shows all GM accounts

This commit is contained in:
LordPsyan 2012-08-15 13:23:38 -05:00 committed by Antz
parent c57a4983c7
commit a15359eb5e
2 changed files with 2 additions and 2 deletions

View file

@ -6607,7 +6607,7 @@ bool ChatHandler::HandleInstanceSaveDataCommand(char* /*args*/)
bool ChatHandler::HandleGMListFullCommand(char* /*args*/)
{
///- Get the accounts with GM Level >0
QueryResult* result = LoginDatabase.Query("SELECT a.username,aa.gmlevel FROM account a LEFT JOIN account_access aa ON (a.id = aa.id) WHERE gmlevel > 0");
QueryResult* result = LoginDatabase.Query("SELECT a.username,aa.gmlevel FROM account a LEFT JOIN account_access aa ON (a.id = aa.id) WHERE aa.gmlevel > 0");
if (result)
{
SendSysMessage(LANG_GMLIST);

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "0099"
#define REVISION_NR "0100"
#endif // __REVISION_NR_H__