1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-14 17:18:32 -05:00

tweaks to stats and fixed the alias command, made the logger thread safe.. whoops

This commit is contained in:
RaidMax
2017-06-01 12:42:28 -05:00
parent 063449d9c4
commit 04df8d5408
12 changed files with 99 additions and 63 deletions

View File

@ -236,7 +236,8 @@ namespace SharedLibrary
public List<Player> GetRecentPlayers()
{
List<Player> returnssss = new List<Player>();
String Query = String.Format($"SELECT * FROM CLIENTS LIMIT 15 OFFSET (SELECT COUNT(*) FROM CLIENTS)-15");
//String Query = String.Format($"SELECT * FROM CLIENTS LIMIT 15 OFFSET (SELECT COUNT(*) FROM CLIENTS)-15");
String Query = "SELECT * FROM CLIENTS ORDER BY LastConnection DESC LIMIT 25";
DataTable Result = GetDataTable(Query);
if (Result != null && Result.Rows.Count > 0)