summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorMark Kretschmann <markey@web.de>2006-08-25 07:12:43 +0000
committerMark Kretschmann <markey@web.de>2006-08-25 07:12:43 +0000
commit04587cedabc0034d37a86cdad116110e74e74e17 (patch)
tree613d330ac17ca064b9233ac33ee7e21ecbbf8680 /data/rbot
parent6dd6ad21bacd817849d0742fcc767ef94779b665 (diff)
Remove some legacy code.
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/quiz.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/data/rbot/plugins/quiz.rb b/data/rbot/plugins/quiz.rb
index f30b2810..231a9c99 100644
--- a/data/rbot/plugins/quiz.rb
+++ b/data/rbot/plugins/quiz.rb
@@ -56,15 +56,6 @@ class Quiz
# and always synced with the registry player stats hash. This way we can do fast
# rank lookups, without extra sorting.
@rank_table = @registry.to_a.sort { |a,b| b[1].score<=>a[1].score }
-
- # # Convert old PlayerStats to new. Can be removed later on
- # @registry.each_key do |player|
- # begin
- # j = @registry[player].joker
- # rescue
- # @registry[player] = PlayerStats.new( @registry[player].score, 0, 0 )
- # end
- # end
end
end
@@ -328,13 +319,7 @@ class QuizPlugin < Plugin
# Command handling
#######################################################################
def cmd_quiz( m, params )
- # if m.target.to_s == "#amarok"
- # m.reply "Please join #amarok.gaming for quizzing! :)"
- # return
- # end
-
fetch_data( m ) if @questions.empty?
-
q = create_quiz( m.target.to_s )
if q.question