summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rbot/plugins/search.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/search.rb b/data/rbot/plugins/search.rb
index 1884b38a..9b976886 100644
--- a/data/rbot/plugins/search.rb
+++ b/data/rbot/plugins/search.rb
@@ -63,6 +63,7 @@ class SearchPlugin < Plugin
begin
wml = @bot.httputil.get(url)
+ raise unless wml
rescue => e
m.reply "error googling for #{what}"
return