diff options
Diffstat (limited to 'data/rbot/plugins/games/wheelfortune.rb')
-rw-r--r-- | data/rbot/plugins/games/wheelfortune.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/games/wheelfortune.rb b/data/rbot/plugins/games/wheelfortune.rb index 37eb63b5..cc9a1446 100644 --- a/data/rbot/plugins/games/wheelfortune.rb +++ b/data/rbot/plugins/games/wheelfortune.rb @@ -506,8 +506,8 @@ class WheelOfFortune < Plugin end end - def listen(m) - return unless m.kind_of?(PrivMessage) and not m.address? + def message(m) + return if m.address? ch = m.channel.irc_downcase(m.server.casemap).intern return unless game = @games[ch] return unless game.running? |