Software /
code /
prosody-modules
Changeset
3280:645c4f14e03d
mod_pubsub_feeds: Fix syntax error
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 25 Aug 2018 14:25:30 +0200 |
parents | 3279:e6b25054c110 |
children | 3281:27cc66bf918b |
files | mod_pubsub_feeds/mod_pubsub_feeds.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_pubsub_feeds/mod_pubsub_feeds.lua Sat Aug 25 14:14:27 2018 +0200 +++ b/mod_pubsub_feeds/mod_pubsub_feeds.lua Sat Aug 25 14:25:30 2018 +0200 @@ -162,7 +162,7 @@ item.last_update = time(); elseif code == 301 and resp.headers.location then module:log("info", "Feed %q has moved to %q", item.url, resp.headers.location); - elseif code == < 100 then + elseif code <= 100 then module:log("error", "Error fetching %q: %q[%d]", item.url, data, code); else module:log("debug", "Unhandled status code %d when fetching %q", code, item.url);