diff options
author | Matthias Hecker <mail@apoc.cc> | 2020-04-15 20:26:54 +0200 |
---|---|---|
committer | Matthias Hecker <mail@apoc.cc> | 2020-04-15 20:26:54 +0200 |
commit | ff6d7e5d043da99b2da36f628d52b7b5df47119d (patch) | |
tree | fe513113e54536ff32cdd6ad66faf0e0a020792c /data/rbot/plugins/games/hangman.rb | |
parent | 77540358a94db4c1fe21462c5f821692eb140df7 (diff) |
refactor: wordlist shouldn't use bot singleton #35
also related to #41 and #6
Diffstat (limited to 'data/rbot/plugins/games/hangman.rb')
-rw-r--r-- | data/rbot/plugins/games/hangman.rb | 2 |
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 |