]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/games/wheelfortune.rb
lart plugin: replace "me" with sourcenick
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / games / wheelfortune.rb
index d873c9e455d3222c335b9e707d52475a9abba169..37eb63b5e67ca80cfcbe7c56c2b3837b930d4e88 100644 (file)
@@ -9,7 +9,8 @@
 
 # Wheel-of-Fortune Question/Answer
 class WoFQA
-  attr_accessor :cat, :clue, :answer, :hint
+  attr_accessor :cat, :clue, :hint
+  attr_reader :answer
   def initialize(cat, clue, ans=nil)
     @cat = cat # category
     @clue = clue # clue phrase
@@ -488,7 +489,7 @@ class WheelOfFortune < Plugin
         }
         score_table(m.channel, game)
         @games.delete(ch)
-      else :more
+      else
         m.reply _("%{bold}%{color}%{name}%{bold}, round %{count}%{nocolor} -- score so far:") % {
           :bold => Bold,
           :color => Irc.color(:green),