]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/games/wheelfortune.rb
hangman: ensure 'hangman define' always answers
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / games / wheelfortune.rb
index 569ad129f81bbce9d457c413c4ffa0fc5140ec43..7e81895378f288dc78703030e86cd6bed9a20031 100644 (file)
@@ -384,6 +384,7 @@ class WheelOfFortune < Plugin
           :chan => p[:chan]
         }
       end
+      return
     end
 
     cat = p[:cat].to_s
@@ -475,9 +476,7 @@ class WheelOfFortune < Plugin
       # m.reply "STUPID! YOU SO STUPID!"
       return
     when *game.must_buy
-      m.nickreply _("You must buy the %{vowel}") % {
-        :vowel => check
-      }
+      m.reply _("You must buy the %{vowel}") % {:vowel => check}, :nick => true
     when :wrong
       return
     when Numeric, :missing