diff --git a/ChaosBot/Services/ProgrammingLanguageInterpreter/LuaProgrammingLanguageInterpreter.cs b/ChaosBot/Services/ProgrammingLanguageInterpreter/LuaProgrammingLanguageInterpreter.cs index 94a0a40..bd55f54 100644 --- a/ChaosBot/Services/ProgrammingLanguageInterpreter/LuaProgrammingLanguageInterpreter.cs +++ b/ChaosBot/Services/ProgrammingLanguageInterpreter/LuaProgrammingLanguageInterpreter.cs @@ -40,7 +40,7 @@ namespace ChaosBot.Services.ProgrammingLanguageInterpreter _state.DoString(content, command); LoggingFacade.Trace("Returning Lua output"); - return _outputBuilder.ToString(); + return _outputBuilder.ToString().Trim(); } private void LuaDebugHook(object sender, NLua.Event.DebugHookEventArgs e)