summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rbot/plugins/quiz.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/quiz.rb b/data/rbot/plugins/quiz.rb
index 73f96589..2757c4a0 100644
--- a/data/rbot/plugins/quiz.rb
+++ b/data/rbot/plugins/quiz.rb
@@ -261,8 +261,8 @@ class QuizPlugin < Plugin
# Reimplemented from Plugin
#
def listen( m )
- return unless @quizzes.has_key?( m.channel.to_s )
return unless m.kind_of?(PrivMessage)
+ return unless @quizzes.has_key?( m.channel.to_s )
q = @quizzes[m.channel.to_s]
return if q.question == nil