diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-04-14 00:23:02 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-04-14 00:23:02 +0000 |
commit | 3cd4ae515218dbd00953143c48cf48e3088d54e9 (patch) | |
tree | 5b465099a5102bbadb1fd14a3dcd2f94fd5846d7 | |
parent | 6cef216e599a87cc9ff02ac68408d34c941de84c (diff) |
url plugin: return nil when we return nothing
-rw-r--r-- | data/rbot/plugins/url.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/url.rb b/data/rbot/plugins/url.rb index 092ccbf9..8a05cafa 100644 --- a/data/rbot/plugins/url.rb +++ b/data/rbot/plugins/url.rb @@ -92,6 +92,7 @@ class UrlPlugin < Plugin raise UrlLinkError, "getting link (#{resp.code} - #{resp.message})" end } + return nil rescue Exception => e case e when UrlLinkError |