summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorChris Gahan <chris@ill-logic.com>2006-01-26 22:22:41 +0000
committerChris Gahan <chris@ill-logic.com>2006-01-26 22:22:41 +0000
commitb16c418dc07ccb0821eb7db986aad859bbc68523 (patch)
treeda896f31cc20cdcce128f48406d3ad5fdd5438b9 /data/rbot
parent576d95621f715d48845472b2e29c0a0c0996020f (diff)
Whoops, forgot to ungreedy the <title>-finding regexes.
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 f13398a8..b7e10b3d 100644
--- a/data/rbot/plugins/url.rb
+++ b/data/rbot/plugins/url.rb
@@ -3,7 +3,7 @@ require 'uri'
require 'cgi'
Url = Struct.new("Url", :channel, :nick, :time, :url)
-TITLE_RE = /<\s*title\s*>(.+)<\s*\/title\s*>/im
+TITLE_RE = /<\s*?title\s*?>(.+?)<\s*?\/title\s*?>/im
class UrlPlugin < Plugin
BotConfig.register BotConfigIntegerValue.new('url.max_urls',