summaryrefslogtreecommitdiff
path: root/bin/rbot-remote
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-01-31 11:49:18 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-01-31 11:49:18 +0100
commit75ca888d6b16bc3cc417e168c7544a8da8bd6aab (patch)
tree0b3f0140df4f403951f2d817290c0ca3c72b61f7 /bin/rbot-remote
parent2f6286930d5a8f246c83c4c83dd60ba5f1119f8e (diff)
rss plugin: fix return/error handling in parseRss
Commit 36f1f28e668919dfab75c8fc4d1020abad351bd1 borked error handling as it assumed that a false or nil rss implied a nonempty errors, and it failed to return early. Fix by removing the early check for a missing rss and wrapping the report_problem (and the previously missing 'return nil') in the check for a nonempty errors array.
Diffstat (limited to 'bin/rbot-remote')
0 files changed, 0 insertions, 0 deletions