This commit is contained in:
Archi
2021-11-10 22:05:08 +01:00
parent 258ad17930
commit d1e8794fe3
2 changed files with 4 additions and 2 deletions

View File

@@ -357,7 +357,8 @@ internal static class Logging {
ulong steamOwnerID = ASF.GlobalConfig?.SteamOwnerID ?? GlobalConfig.DefaultSteamOwnerID;
string? response = await targetBot.Commands.Response(steamOwnerID, command).ConfigureAwait(false);
// ReSharper disable once RedundantSuppressNullableWarningExpression - required for .NET Framework
string? response = await targetBot.Commands.Response(steamOwnerID, command!).ConfigureAwait(false);
if (string.IsNullOrEmpty(response)) {
ASF.ArchiLogger.LogNullError(nameof(response));