]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/games/quiz.rb
quiz plugin: split top N tables at the name divisor
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / games / quiz.rb
index 37602fba7b62cfc1f394fcdf17d0ad4f58d3cc9d..792b75ae2e9f809e7e9efed79cf7d5ed46068948 100644 (file)
@@ -706,7 +706,7 @@ class QuizPlugin < Plugin
       score = player[1].score
       ar << "#{i + 1}. #{unhilight_nick( nick )} (#{score})"
     end
-    m.reply ar.join(" | ")
+    m.reply ar.join(" | "), :split_at => /\s+\|\s+/
   end