summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/games
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins/games')
-rw-r--r--data/rbot/plugins/games/wheelfortune.rb2
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}") % {