diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-01-28 18:11:18 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2009-01-28 18:11:18 +0100 |
commit | 05852a3188a1811e2f5030c747d5a3add2ecd1c0 (patch) | |
tree | 34b676fca9d154f5bf6c9472cc946cab5c4f6bf6 /data | |
parent | 3a3794f0c1a5ca3b9c27fe486c7fcd9690d34fca (diff) |
rss plugin: don't warn on rewatch
There is no need to warn when calling watchRss on a watched feed; in
fact, since watchRss() is called every time a watcher is added, it just
spam the channels with a useless message that also provides unnecessary
information. So just return.
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/rss.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb index 18219074..87f79ec5 100644 --- a/data/rbot/plugins/rss.rb +++ b/data/rbot/plugins/rss.rb @@ -872,7 +872,7 @@ class RSSFeedsPlugin < Plugin private def watchRss(feed, m=nil) if @watch.has_key?(feed.handle) - report_problem("watcher thread for #{feed.handle} is already running", nil, m) + # report_problem("watcher thread for #{feed.handle} is already running", nil, m) return end status = Hash.new |