Module:Protection banner: Difference between revisions
simplify reason-setting code
(no need for args.reason) |
(simplify reason-setting code) |
||
Line 124: | Line 124: | ||
-- Set reason | -- Set reason | ||
if args[1] then | |||
self.reason = mw.ustring.lower(args[1]) | |||
end | end | ||