From 867bef6674fbccfc8a8aed4f96d7a52b22a60791 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Mon, 10 Sep 2007 09:39:47 +0000 Subject: url plugin: loopback is 127.x.x.x, not just 127.0.0.1 --- data/rbot/plugins/url.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rbot/plugins') diff --git a/data/rbot/plugins/url.rb b/data/rbot/plugins/url.rb index 0160f903..81852103 100644 --- a/data/rbot/plugins/url.rb +++ b/data/rbot/plugins/url.rb @@ -29,7 +29,7 @@ class UrlPlugin < Plugin :default => false, :desc => "Show link info when listing/searching for urls") BotConfig.register BotConfigArrayValue.new('url.no_info_hosts', - :default => ['localhost', '^192\.168\.', '^10\.', '^127\.0\.0\.1', '^172\.(1[6-9]|2\d|31)\.'], + :default => ['localhost', '^192\.168\.', '^10\.', '^127\.', '^172\.(1[6-9]|2\d|31)\.'], :on_change => Proc.new { |bot, v| bot.plugins['url'].reset_no_info_hosts }, :desc => "A list of regular expressions matching hosts for which no info should be provided") -- cgit v1.2.3