From: Alexander Beisig Date: Fri, 21 Jul 2006 22:06:39 +0000 (+0000) Subject: Disabled sending URL info to the channel by default, as several people X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=429172175bb92481791dcb23ff5e32362fab94d5;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git Disabled sending URL info to the channel by default, as several people found it quite annoying. Can be reenabled with url.display_link_info --- 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