- adapted to new Chat API
- fixed broken size calucation - fixed Import message
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user