diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-11-17 01:07:22 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-11-17 01:07:22 +0100 |
commit | aefc3887362b36cce5dc9906ad09c28ae6f8cb40 (patch) | |
tree | eb9134cc5b5a95a642c544ed2a503ade2388cee8 /data/rbot | |
parent | 64f0543749cfa675dcb519313430905810d22c04 (diff) |
azgame plugin: borked wordlist loading with previous patch
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/games/azgame.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/games/azgame.rb b/data/rbot/plugins/games/azgame.rb index 1df3c7b4..05b767f0 100644 --- a/data/rbot/plugins/games/azgame.rb +++ b/data/rbot/plugins/games/azgame.rb @@ -132,7 +132,7 @@ class AzGamePlugin < Plugin end def initialize_wordlist(lang) - wordlist = @wordlist_base + lang + wordlist = @wordlist_base + lang.to_s if File.exist?(wordlist) words = File.readlines(wordlist).map {|line| line.strip}.uniq if(words.length >= 4) # something to guess |