diff options
-rw-r--r-- | data/rbot/plugins/url.rb | 2 |
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', |