- adapted to new Chat API

- fixed broken size calucation
- fixed Import message
This commit is contained in:
2026-11-01 15:37:09 +01:00
parent 37e3dbe63d
commit 2e476648dd
5 changed files with 17 additions and 23 deletions
+2 -2
View File
@@ -93,7 +93,7 @@ function Grichelde:Format(message, ...)
--print("...: ", ...)
return message, ...
else
local l = tSize(...)
local l = select("#", ...)
if (l > 0) then
-- sanitize nil values in vararg
local packed = { ... }
@@ -144,7 +144,7 @@ function Grichelde:LogPrint(printFunc, obj, ...)
printF("<nil>")
else
if type(obj) == "string" then
local l = tSize(...)
local l = select("#", ...)
if (l == 0) or (find(obj, "%%") == nil) then
printF(obj, ...)
else