summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/games/azgame.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/games/azgame.rb b/data/rbot/plugins/games/azgame.rb
index 91caf35d..ca67881c 100644
--- a/data/rbot/plugins/games/azgame.rb
+++ b/data/rbot/plugins/games/azgame.rb
@@ -560,7 +560,7 @@ class AzGamePlugin < Plugin
debug "getting random word from dictionary, matching #{random}"
p = @bot.httputil.get(rules[:url] % CGI.escape(random))
debug p
- raise 'unable to get search results' if not p.match /Search results for/i
+ raise 'unable to get search results' if not p.match /id="fullsearchresults"/i
lemmi = Array.new
good = rules[:good]
# We look for a lemma composed by a single word and of length at least two