From d999bce9f4402eea13d5f561aaef94fda8072cf8 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 30 Oct 2007 14:21:17 +0000 Subject: azgame: longer timeout when checking italian words --- 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 12cdf724..77521450 100644 --- a/data/rbot/plugins/games/azgame.rb +++ b/data/rbot/plugins/games/azgame.rb @@ -356,7 +356,7 @@ class AzGamePlugin < Plugin wc = @wordcache[:italian] return true if wc.key?(word.to_sym) rules = @rules[:italian] - p = @bot.httputil.get(rules[:wapurl] % word) + p = @bot.httputil.get(rules[:wapurl] % word, :open_timeout => 60, :read_timeout => 60) if not p error "could not connect!" return false -- cgit v1.2.3