Changeset 420 for binary-improvements/MapRendering/Web/API/GetPlayerList.cs
- Timestamp:
- Mar 28, 2023, 5:11:02 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Web/API/GetPlayerList.cs
r369 r420 68 68 pJson.Add ("ping", new JSONNumber (p.IsOnline ? p.ClientInfo.ping : -1)); 69 69 70 JSONBoolean banned = admTools != null ? new JSONBoolean (admTools. IsBanned (kvp.Key, out _, out _)) : new JSONBoolean (false);70 JSONBoolean banned = admTools != null ? new JSONBoolean (admTools.Blacklist.IsBanned (kvp.Key, out _, out _)) : new JSONBoolean (false); 71 71 72 72 pJson.Add ("banned", banned);
Note:
See TracChangeset
for help on using the changeset viewer.