Trim output to treat \n as empty message
This commit is contained in:
parent
8062e6d980
commit
b7a9575c15
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user