diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-10-30 14:21:17 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-10-30 14:21:17 +0000 |
commit | d999bce9f4402eea13d5f561aaef94fda8072cf8 (patch) | |
tree | 9e1698301618fabeb8198331423d3bf55eb59de6 /data | |
parent | 8afa7a66180ea8fae1eca9d6841c0d2711c40108 (diff) |
azgame: longer timeout when checking italian words
Diffstat (limited to 'data')
-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 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
|