summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/rss.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-01-12 22:15:12 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2011-01-12 22:15:12 +0100
commit12a508e1a75bc1de501f36ca9e4767f2349fe12e (patch)
tree8ec4db236d70c064742b87c79feb86e783312e1c /data/rbot/plugins/rss.rb
parentcafa66beb3392f30ba8f11e6763f690518512471 (diff)
Ruby 1.9 cleanup: variables warnings
Fix most ruby 1.9 warnings about shadowed variables (still one remaining in keywords.rb). The only significant changes are in the quiz game plugin. Also fix an issue in dictclient where the block parameter of a method was not correctly isolated from the previous parameter.
Diffstat (limited to 'data/rbot/plugins/rss.rb')
-rw-r--r--data/rbot/plugins/rss.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb
index 6b163619..4280c52a 100644
--- a/data/rbot/plugins/rss.rb
+++ b/data/rbot/plugins/rss.rb
@@ -935,8 +935,8 @@ class RSSFeedsPlugin < Plugin
stop_watches
# Read watches from list.
- watchlist.each{ |handle, feed|
- watchRss(feed, m)
+ watchlist.each{ |hndl, fd|
+ watchRss(fd, m)
}
m.okay if m
end