author | Kim Alvefur <zash@zash.se> |
Thu, 26 Jun 2014 18:56:15 +0200 | |
changeset 1457 | 720ff25d94e6 |
parent 1456 | 2cd667d8edbd |
child 1458 | e9d164e694e7 |
--- a/mod_pubsub_feeds/mod_pubsub_feeds.lua Thu Jun 26 18:33:13 2014 +0200 +++ b/mod_pubsub_feeds/mod_pubsub_feeds.lua Thu Jun 26 18:56:15 2014 +0200 @@ -113,7 +113,7 @@ end end - if item.lease_expires > time() then + if item.lease_expires and item.lease_expires > time() then item.subscription = nil; item.lease_expires = nil; end