From 73d0f54319448ba51f144dd8a7493e37cc849cb1 Mon Sep 17 00:00:00 2001 From: Madpeter Date: Sat, 9 May 2020 19:49:37 +0100 Subject: [PATCH] corrects a issue with the commands add history where the output was not set to the message string. --- Core/bottypes/CommandsBot.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/bottypes/CommandsBot.cs b/Core/bottypes/CommandsBot.cs index 786be38..a605a97 100644 --- a/Core/bottypes/CommandsBot.cs +++ b/Core/bottypes/CommandsBot.cs @@ -46,9 +46,10 @@ namespace BSB.bottypes { CommandHistory.RemoveAt(0); } + message = sb.ToString(); if (myconfig.CommandsToConsole == true) { - ConsoleLog.Info(sb.ToString()); + ConsoleLog.Info(message); } commandid++; if (commandid >= myconfig.MaxCommandHistory)