mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +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
|
///- Get the list of accounts ID logged to the realm
|
||||||
// 0 1 2 3 4
|
// 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);
|
return ShowAccountListHelper(result,&limit);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "9915"
|
#define REVISION_NR "9916"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue