summaryrefslogtreecommitdiff
path: root/src/cat/LegacyLuaAPI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cat/LegacyLuaAPI.cpp')
-rw-r--r--src/cat/LegacyLuaAPI.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/cat/LegacyLuaAPI.cpp b/src/cat/LegacyLuaAPI.cpp
index 75b6780..4abd041 100644
--- a/src/cat/LegacyLuaAPI.cpp
+++ b/src/cat/LegacyLuaAPI.cpp
@@ -958,7 +958,11 @@ int luatpt_log(lua_State* l)
lua_pop(l, 2);
}
if((*luacon_currentCommand))
- (*luacon_lastError) = text;
+ {
+ if(luacon_lastError->length())
+ *luacon_lastError += "; ";
+ *luacon_lastError += text;
+ }
else
luacon_ci->Log(CommandInterface::LogNotice, text.c_str());
return 0;