Modul:Protection banner: Unterschied zwischen den Versionen

simplify reason-setting code
(no need for args.reason)
(simplify reason-setting code)
Zeile 124: Zeile 124:


-- Set reason
-- Set reason
do
if args[1] then
local reason = args[1]
self.reason = mw.ustring.lower(args[1])
if reason then
self.reason = mw.ustring.lower(reason)
end
end
end


Anonymer Benutzer