summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r--data/rbot/plugins/rss.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb
index b5a44bd7..13689bf1 100644
--- a/data/rbot/plugins/rss.rb
+++ b/data/rbot/plugins/rss.rb
@@ -388,7 +388,7 @@ class RSSFeedsPlugin < Plugin
status[:oldItems] = []
status[:firstRun] = true
status[:failures] = 0
- @watch[feed.handle] = @bot.timer.add(@bot.config['rss.thread_sleep'], status) {
+ @watch[feed.handle] = @bot.timer.add(0, status) {
debug "watcher for #{feed} started"
oldItems = status[:oldItems]
firstRun = status[:firstRun]
@@ -437,6 +437,7 @@ class RSSFeedsPlugin < Plugin
debug "watcher for #{feed} going to sleep #{seconds} seconds.."
@bot.timer.reschedule(@watch[feed.handle], seconds)
}
+ debug "watcher for #{feed} added"
end
def printFormattedRss(feed, item, opts=nil)