summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/games/quiz.rb
diff options
context:
space:
mode:
authorRaine Virta <rane@kapsi.fi>2009-02-19 16:26:34 +0200
committerRaine Virta <rane@kapsi.fi>2009-02-19 16:26:34 +0200
commit783ffa4235330029d661752b1023db635b26f2b3 (patch)
treee60c7a89e7053120b33810230401f5490a3cb697 /data/rbot/plugins/games/quiz.rb
parentff452ad1bf111025f0661274ac7fb8b2f769a293 (diff)
remove whitespace
Diffstat (limited to 'data/rbot/plugins/games/quiz.rb')
-rw-r--r--data/rbot/plugins/games/quiz.rb6
1 files changed, 3 insertions, 3 deletions
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) }