1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

only fix double forward slash characters (instead of single) when sending messages

retry kicks on banned players if they're banned from webfront, but don't actually get kicked because the game doesn't process the command (looking at you T6)
allow capturing chat messages for names spoofed to an empty string
make sure mostkills uses days not month for cutoff
This commit is contained in:
RaidMax
2020-05-16 20:55:18 -05:00
parent 136b9e3d3d
commit 54c367cad7
5 changed files with 7 additions and 11 deletions

View File

@ -52,7 +52,7 @@ namespace IW4MAdmin.Plugins.Stats.Commands
{
using (var ctx = contextFactory.CreateContext(enableTracking: false))
{
var dayInPast = DateTime.UtcNow.AddMonths(-config.MostKillsMaxInactivityDays);
var dayInPast = DateTime.UtcNow.AddDays(-config.MostKillsMaxInactivityDays);
var iqStats = (from stats in ctx.Set<EFClientStatistics>()
join client in ctx.Clients