diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-02-01 16:34:55 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-02-01 16:34:55 +0000 |
commit | b0db99d951fc28268fd0c11f65a4de660fb8b8ef (patch) | |
tree | e2b6b94e00e0fc819710287477ce6565efc199da /data/rbot/plugins | |
parent | 2ccffd31d402a301efd7cff771d3ec9a7f831719 (diff) |
Previous commit also implemented quiz autoask delay, but I had forgotten to log it. Log it, and take the chance to beautify some comments
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r-- | data/rbot/plugins/quiz.rb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/data/rbot/plugins/quiz.rb b/data/rbot/plugins/quiz.rb index 8e1e7a54..0d1d9ee6 100644 --- a/data/rbot/plugins/quiz.rb +++ b/data/rbot/plugins/quiz.rb @@ -7,12 +7,14 @@ # (c) 2006 Giuseppe Bilotta <giuseppe.bilotta@gmail.com> # Licensed under GPL V2. -# FIXME interesting fact: n the Quiz class, @registry.has_key? seems to be case -# insensitive! Although this is all right for us, this leads to rank vs -# registry mismatches! So we have to make the @rank_table comparisons case +# FIXME interesting fact: in the Quiz class, @registry.has_key? seems to be +# case insensitive. Although this is all right for us, this leads to rank vs +# registry mismatches. So we have to make the @rank_table comparisons case # insensitive as well. For the moment, redefine everything to downcase before -# matching the nick. TODO define a class for the rank table. We might also need it -# for scoring in other games. +# matching the nick. +# +# TODO define a class for the rank table. We might also need it for scoring in +# other games. # Class for storing question/answer pairs QuizBundle = Struct.new( "QuizBundle", :question, :answer ) |