diff --git a/Core b/Core index bd9c909..5f8eb12 160000 --- a/Core +++ b/Core @@ -1 +1 @@ -Subproject commit bd9c90981cebc9c15eb5632de9d05ec56c9c82a1 +Subproject commit 5f8eb1299d14f4bf4f2042e586fc2061726ef246 diff --git a/Modules/Logging.cs b/Modules/Logging.cs index e72038c..55725b6 100644 --- a/Modules/Logging.cs +++ b/Modules/Logging.cs @@ -793,6 +793,8 @@ private async Task LogBan(Server server, string userName, guid userId, string re try { this.Client.Monitoring.Bans.Inc(); + if( string.IsNullOrEmpty(userName) ) + await this.Client.LogMessageUnknown(LogType.None, server.Id, "Unknown Ban Event"); if( issuedBy?.Id == server.Guild.CurrentUser.Id ) await StatsIncrement(server, StatsType.BannedByValk);