summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/search.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/search.rb b/data/rbot/plugins/search.rb
index aec8b134..8b3b6848 100644
--- a/data/rbot/plugins/search.rb
+++ b/data/rbot/plugins/search.rb
@@ -90,7 +90,7 @@ class SearchPlugin < Plugin
m.reply "error googling for #{what}"
return
end
- results = wml.scan(GOOGLE_WAP_LINK)
+ results = wml.match('<p align="center">').pre_match.scan(GOOGLE_WAP_LINK)
if results.length == 0
m.reply "no results found for #{what}"