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