mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
Stats module
This commit is contained in:
@@ -236,6 +236,14 @@ function toboolean(str)
|
||||
return false
|
||||
end
|
||||
|
||||
function fromboolean(boolean)
|
||||
if boolean then
|
||||
return 'true'
|
||||
else
|
||||
return 'false'
|
||||
end
|
||||
end
|
||||
|
||||
function signalcall(param, ...)
|
||||
if type(param) == 'function' then
|
||||
local status, ret = pcall(param, ...)
|
||||
|
Reference in New Issue
Block a user