summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/url.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-04-14 00:23:02 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-04-14 00:23:02 +0000
commit3cd4ae515218dbd00953143c48cf48e3088d54e9 (patch)
tree5b465099a5102bbadb1fd14a3dcd2f94fd5846d7 /data/rbot/plugins/url.rb
parent6cef216e599a87cc9ff02ac68408d34c941de84c (diff)
url plugin: return nil when we return nothing
Diffstat (limited to 'data/rbot/plugins/url.rb')
-rw-r--r--data/rbot/plugins/url.rb1
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