]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
hangman plugin: tell who nailed the word/killed the guy
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 27 Jan 2009 13:15:07 +0000 (14:15 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 27 Jan 2009 13:15:07 +0000 (14:15 +0100)
data/rbot/plugins/games/hangman.rb

index 197d60e90bf55bff4f1980ce2f9b71cb58d3edda..423cfe0c13e906ba131e4c74144f52cbf2c143f2 100644 (file)
@@ -217,7 +217,7 @@ class HangmanPlugin < Plugin
           str = "you've killed the poor guy :("
         end
 
-        m.reply "#{str} go #{Bold}again#{Bold}?"
+        m.reply "#{str} go #{Bold}again#{Bold}?", :nick => true
 
         @games.delete(source)
       end