summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/url.rb
diff options
context:
space:
mode:
authorAlexander Beisig <alexander.beisig@gmx.de>2006-07-21 22:06:39 +0000
committerAlexander Beisig <alexander.beisig@gmx.de>2006-07-21 22:06:39 +0000
commit429172175bb92481791dcb23ff5e32362fab94d5 (patch)
tree42b06194ba1ac518efa5e53344baf2670de971bd /data/rbot/plugins/url.rb
parentcf034a9ce7ffb734db1738129ffaf5393487b14b (diff)
Disabled sending URL info to the channel by default, as several people
found it quite annoying. Can be reenabled with url.display_link_info
Diffstat (limited to 'data/rbot/plugins/url.rb')
-rw-r--r--data/rbot/plugins/url.rb4
1 files 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