summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-08-27 20:17:58 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-08-27 20:17:58 +0000
commitce62f69cacce0abb242505a85fac5badde0440d5 (patch)
tree21ac76f9d5c5f15c48d128677382b81314ad512a
parent5cffd61572c62cd84c9be9c9426e34611043d638 (diff)
rss plugin: uncoditionally renew the feed mutexes
-rw-r--r--data/rbot/plugins/rss.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb
index 905daad8..62ce48d9 100644
--- a/data/rbot/plugins/rss.rb
+++ b/data/rbot/plugins/rss.rb
@@ -298,7 +298,7 @@ class RSSFeedsPlugin < Plugin
@feeds.delete(k)
}
@feeds.each { |k, f|
- f.mutex = Mutex.new unless f.mutex
+ f.mutex = Mutex.new
f.sanitize_watchers
parseRss(f) if f.xml
}