From 7708a81949860056c327691e98bfdf1e90aaf852 Mon Sep 17 00:00:00 2001 From: Noikoio Date: Thu, 15 Mar 2018 00:23:46 -0700 Subject: [PATCH] Fixed incorrect message being sent to audit log --- Module/ModCommands/Commands/BanKick.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Module/ModCommands/Commands/BanKick.cs b/Module/ModCommands/Commands/BanKick.cs index 0231d31..ec644cd 100644 --- a/Module/ModCommands/Commands/BanKick.cs +++ b/Module/ModCommands/Commands/BanKick.cs @@ -136,7 +136,7 @@ namespace Noikoio.RegexBot.Module.ModCommands.Commands #warning Remove EscapeDataString call on next Discord.Net update #if !DEBUG if (_mode == CommandMode.Ban) await g.AddBanAsync(targetId, _purgeDays, reasonlog); - else await targetobj.KickAsync(reason); + else await targetobj.KickAsync(reasonlog); #else #warning "Actual kick/ban action is DISABLED during debug." #endif