diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-04-01 13:19:24 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-04-01 13:19:24 +0000 |
commit | e47d9daf3beb3b6ab34c5c7a5b84f3019241b035 (patch) | |
tree | cfe6fd82ab778cc27e74f92c538565c5d7bac248 /data/rbot/plugins | |
parent | a4a5b3b267542e228dc3ae557946eb6315898098 (diff) |
search plugin: let the user know when no body was found and no error was raised
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r-- | data/rbot/plugins/search.rb | 1 |
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 |