Ruby 1.9 cleanup: variables warnings
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 12 Jan 2011 21:15:12 +0000 (22:15 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 12 Jan 2011 21:15:12 +0000 (22:15 +0100)
commit12a508e1a75bc1de501f36ca9e4767f2349fe12e
tree8ec4db236d70c064742b87c79feb86e783312e1c
parentcafa66beb3392f30ba8f11e6763f690518512471
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.
16 files changed:
data/rbot/plugins/dictclient.rb
data/rbot/plugins/factoids.rb
data/rbot/plugins/games/quiz.rb
data/rbot/plugins/games/uno.rb
data/rbot/plugins/geoip.rb
data/rbot/plugins/imdb.rb
data/rbot/plugins/iplookup.rb
data/rbot/plugins/lastfm.rb
data/rbot/plugins/rss.rb
data/rbot/plugins/slashdot.rb
data/rbot/plugins/urban.rb
lib/rbot/botuser.rb
lib/rbot/core/auth.rb
lib/rbot/core/utils/filters.rb
lib/rbot/core/utils/httputil.rb
lib/rbot/core/utils/wordlist.rb