From 783ffa4235330029d661752b1023db635b26f2b3 Mon Sep 17 00:00:00 2001 From: Raine Virta Date: Thu, 19 Feb 2009 16:26:34 +0200 Subject: remove whitespace --- data/rbot/plugins/games/quiz.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'data/rbot/plugins/games/quiz.rb') diff --git a/data/rbot/plugins/games/quiz.rb b/data/rbot/plugins/games/quiz.rb index 9159a4c4..ca2abf47 100644 --- a/data/rbot/plugins/games/quiz.rb +++ b/data/rbot/plugins/games/quiz.rb @@ -184,7 +184,7 @@ class QuizPlugin < Plugin # (in quiz/) or web pages. # def fetch_data( m ) - # Read the winning messages file + # Read the winning messages file @win_messages = Array.new winfile = datafile 'win_messages' if File.exists? winfile @@ -339,7 +339,7 @@ class QuizPlugin < Plugin end end - # If less than all other players' scores, append to table + # If less than all other players' scores, append to table unless inserted i += 1 unless q.rank_table.empty? q.rank_table << [nick, stats] @@ -370,7 +370,7 @@ class QuizPlugin < Plugin message = m.message.downcase.strip - nick = m.sourcenick.to_s + nick = m.sourcenick.to_s # Support multiple alternate answers and cores answer = q.answers.find { |ans| ans.valid?(message) } -- cgit v1.2.3