Bureaucrats, Check users, emailconfirmed, Interface administrators, staff, Administrators, translation-admin, Widget editors
1,659
edits
m (I thought there was already a null check but maybe not?) |
m (It probably doesn't like trying to iterate through a number instead of a string) |
||
Line 110: | Line 110: | ||
end | end | ||
if (args['count'] or args['Count']) and tonumber(args['count']) or tonumber(args['Count']) or string.match(args['count'],'%?') or string.match(args['Count'],'%?') then | if (args['count'] or args['Count']) and tonumber(args['count']) or tonumber(args['Count']) or string.match(tostring(args['count']),'%?') or string.match(tostring(args['Count']),'%?') then | ||
local count = args['count'] or args['Count'] | local count = args['count'] or args['Count'] | ||
if count ~= 1 then | if count ~= 1 then |
edits