mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 01:37:04 +00:00
[9916] Fixed .account onlinelist work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
ce761f4925
commit
0b7f090a37
2 changed files with 2 additions and 2 deletions
|
|
@ -483,7 +483,7 @@ bool ChatHandler::HandleAccountOnlineListCommand(const char* args)
|
|||
|
||||
///- Get the list of accounts ID logged to the realm
|
||||
// 0 1 2 3 4
|
||||
QueryResult *result = loginDatabase.PQuery("SELECT id, username, last_ip, gmlevel, expansion FROM account WHERE realm = %u", realmID);
|
||||
QueryResult *result = loginDatabase.PQuery("SELECT id, username, last_ip, gmlevel, expansion FROM account WHERE active_realm_id = %u", realmID);
|
||||
|
||||
return ShowAccountListHelper(result,&limit);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue