Modul:Protection banner: Unterschied zwischen den Versionen
fix variable typo
(move the image name function to its proper place and rename it) |
(fix variable typo) |
||
Zeile 258: | Zeile 258: | ||
and cfg.banners[obj.action][args.reason] | and cfg.banners[obj.action][args.reason] | ||
then | then | ||
data = cfg.banners[obj.action][ | data = cfg.banners[obj.action][args.reason] | ||
elseif cfg.defaultBanners[obj.action] then | elseif cfg.defaultBanners[obj.action] then | ||
data = cfg.defaultBanners[obj.action] | data = cfg.defaultBanners[obj.action] |