diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-11-18 16:08:19 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-11-18 16:08:19 +0100 |
commit | bd045414cfa2f2332ae766ae80c9e7c225bfa971 (patch) | |
tree | 90ce0a30be6d9fee8c763fcf7cc1bf03cc661deb /lib/rbot | |
parent | b4e07b8fb4f1c79cc8c6a09fcb18bb3d4e25ea98 (diff) |
rss plugin: don't fail when feed.last_success is nil
The first_run check comparing the time delta from last success failed
when feed.last_success was nil. Prevent this from happening by checking
if we are on the first run before the rest of the checks.
Diffstat (limited to 'lib/rbot')
0 files changed, 0 insertions, 0 deletions