I was lied to about the metamethod documentation -.-
This commit is contained in:
1 parent
17a3ba945d
commit
333bd43306
1 file changed
+1
-1
@@ -22,7 +22,7 @@ local enable_logging = true
|
|||||||
local message_limit = math.huge
|
local message_limit = math.huge
|
||||||
|
|
||||||
return setmetatable(microlog, {
|
return setmetatable(microlog, {
|
||||||
__call = function(options, ...)
|
__call = function(self, options, ...)
|
||||||
local options_type = type(options)
|
local options_type = type(options)
|
||||||
|
|
||||||
if (options_type == "string") and enable_logging then
|
if (options_type == "string") and enable_logging then
|
||||||
|
|||||||
Reference in new issue
Block a user