Changes
Jump to navigation
Jump to search
return not self.expiry and local actionNeedsCheck = cfg.expiryCheckActionsexpirycheckactions[self.action] return not self.expiry and ( actionNeedsCheck or ( actionNeedsCheck == nil and self.reason -- the old {{pp-protected}} didn't check for expiry and not cfg.reasonsWithoutExpiryCheck[self.reason] ) )
make Protection:needsExpiry even more complicated to allow for trinary logic in cfg.expiryCheckActions
function Protection:needsExpiry()
local cfg = self._cfg
end