Anonymous user
Module:Effective protection level: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
add a metamethod so the action can be passed as the first param to #invoke instead of 'main'
(let one function work for other modules and for wikitext) |
(add a metamethod so the action can be passed as the first param to #invoke instead of 'main') |
||
Line 63:
end
end
setmetatable(p, { __index = function(t, k)
return function(frame, ...)
return t.main(frame, k, ...)
end
end })
return p
|