summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins')
-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 2cee5f4f..6e03e75b 100644
--- a/data/rbot/plugins/url.rb
+++ b/data/rbot/plugins/url.rb
@@ -128,7 +128,7 @@ class UrlPlugin < Plugin
urls_displayed = 0
urls.each do |urlstr|
debug "working on #{urlstr}"
- next unless urlstr =~ /^https?:/
+ next unless urlstr =~ /^https?:\/\/./
title = nil
debug "Getting title for #{urlstr}..."
reply = nil