From aefc3887362b36cce5dc9906ad09c28ae6f8cb40 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Mon, 17 Nov 2008 01:07:22 +0100 Subject: azgame plugin: borked wordlist loading with previous patch --- data/rbot/plugins/games/azgame.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') 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 -- cgit v1.2.3