summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/url.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/url.rb b/data/rbot/plugins/url.rb
index c4fce2ae..0896c87e 100644
--- a/data/rbot/plugins/url.rb
+++ b/data/rbot/plugins/url.rb
@@ -163,7 +163,7 @@ class UrlPlugin < Plugin
return if m.address?
escaped = URI.escape(m.message, OUR_UNSAFE)
- urls = URI.extract(escaped)
+ urls = URI.extract(escaped, ['http', 'https'])
Thread.new { handle_urls(m, urls) }
end