summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/games/quiz.rb
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins/games/quiz.rb')
-rw-r--r--data/rbot/plugins/games/quiz.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/data/rbot/plugins/games/quiz.rb b/data/rbot/plugins/games/quiz.rb
index 792b75ae..a9ceddaf 100644
--- a/data/rbot/plugins/games/quiz.rb
+++ b/data/rbot/plugins/games/quiz.rb
@@ -360,9 +360,7 @@ class QuizPlugin < Plugin
# Reimplemented from Plugin
#
- def listen( m )
- return unless m.kind_of?(PrivMessage)
-
+ def message(m)
chan = m.channel
return unless @quizzes.has_key?( chan )
q = @quizzes[chan]