summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/games/hangman.rb
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins/games/hangman.rb')
-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 0177a348..890f821a 100644
--- a/data/rbot/plugins/games/hangman.rb
+++ b/data/rbot/plugins/games/hangman.rb
@@ -253,7 +253,7 @@ class HangmanPlugin < Plugin
params[:word].join(" ")
elsif params[:wordlist]
begin
- wordlist = Wordlist.get(params[:wordlist].join("/"), :spaces => true)
+ wordlist = Wordlist.get(@bot, params[:wordlist].join("/"), :spaces => true)
rescue
raise _("no such wordlist")
end