From 429172175bb92481791dcb23ff5e32362fab94d5 Mon Sep 17 00:00:00 2001 From: Alexander Beisig Date: Fri, 21 Jul 2006 22:06:39 +0000 Subject: [PATCH] Disabled sending URL info to the channel by default, as several people found it quite annoying. Can be reenabled with url.display_link_info --- data/rbot/plugins/url.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/rbot/plugins/url.rb b/data/rbot/plugins/url.rb index f5aa88e6..5d423978 100644 --- a/data/rbot/plugins/url.rb +++ b/data/rbot/plugins/url.rb @@ -272,10 +272,10 @@ UNESCAPE_TABLE = { class UrlPlugin < Plugin BotConfig.register BotConfigIntegerValue.new('url.max_urls', - :default => 100, :validate => Proc.new{|v| v > 0}, +8 :default => 100, :validate => Proc.new{|v| v > 0}, :desc => "Maximum number of urls to store. New urls replace oldest ones.") BotConfig.register BotConfigBooleanValue.new('url.display_link_info', - :default => true, + :default => false, :desc => "Get the title of any links pasted to the channel and display it (also tells if the link is broken or the site is down)") def initialize -- 2.39.5