Anonymous user
Module:User: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
comment the validateArg function
m (Protected Module:User: High-risk Lua module ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only template editors and admins] (indefinite))) |
(comment the validateArg function) |
||
Line 15:
local function validateArg(arg)
-- Validates one argument. Whitespace is stripped, and blank arguments
-- are treated as nil.
if not arg then
return nil
Line 21 ⟶ 23:
if arg ~= '' then
return arg
else
return nil
end
end
|