mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 04:37:00 +00:00
[0100] Fixed GM List command. Now properly shows all GM accounts
This commit is contained in:
parent
c57a4983c7
commit
a15359eb5e
2 changed files with 2 additions and 2 deletions
|
|
@ -6607,7 +6607,7 @@ bool ChatHandler::HandleInstanceSaveDataCommand(char* /*args*/)
|
||||||
bool ChatHandler::HandleGMListFullCommand(char* /*args*/)
|
bool ChatHandler::HandleGMListFullCommand(char* /*args*/)
|
||||||
{
|
{
|
||||||
///- Get the accounts with GM Level >0
|
///- 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)
|
if (result)
|
||||||
{
|
{
|
||||||
SendSysMessage(LANG_GMLIST);
|
SendSysMessage(LANG_GMLIST);
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "0099"
|
#define REVISION_NR "0100"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue