diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-12-06 15:16:21 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-12-06 15:16:21 +0000 |
commit | 25dce328a87fcf2af9fa0e1c2da7ed30b7def441 (patch) | |
tree | dd948d218ab1c690f568b2f312f2dde3a6ae9ab0 | |
parent | b14c53c6bb5f991585f572e863fff09fcc2686c7 (diff) |
wheelfortune: it's chan, not p[:chan]
-rw-r--r-- | data/rbot/plugins/games/wheelfortune.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/games/wheelfortune.rb b/data/rbot/plugins/games/wheelfortune.rb index 57d54915..c7fb7ab4 100644 --- a/data/rbot/plugins/games/wheelfortune.rb +++ b/data/rbot/plugins/games/wheelfortune.rb @@ -173,7 +173,7 @@ class WheelOfFortune < Plugin m.reply _("you must specify a channel") return end - ch = p[:chan].irc_downcase(m.server.casemap).intern + ch = chan.irc_downcase(m.server.casemap).intern if @games.key?(ch) m.reply _("there's already a Wheel-of-Fortune game on %{chan}, managed by %{who}") % { |