summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-12-16 23:38:01 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-12-21 10:30:45 +0100
commit1a44fec776e7a299fe4f38298b9a47b443285b3a (patch)
tree73b889d875ffefbbc57239884a6430acce88a86b
parentb7fad38870b04450feafaf3e96ba4b3011816049 (diff)
hangman: expand %{site} in help
-rw-r--r--data/rbot/plugins/games/hangman.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/games/hangman.rb b/data/rbot/plugins/games/hangman.rb
index 2a4bf338..8255ae84 100644
--- a/data/rbot/plugins/games/hangman.rb
+++ b/data/rbot/plugins/games/hangman.rb
@@ -246,7 +246,7 @@ class HangmanPlugin < Plugin
when "play"
return [_("hangman play on <channel> with word <word> => use in private chat with the bot to start a game with custom word\n"),
_("hangman play random [with [max|min] length [<|>|== <length>]] => hangman with a random word from %{site}\n"),
- _("hangman play with wordlist <wordlist> => hangman with random word from <wordlist>")].join
+ _("hangman play with wordlist <wordlist> => hangman with random word from <wordlist>")].join % { :site => RandomWord::SITE }
when "stop"
return _("hangman stop => quits the current game")
when "define"