diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-09-10 09:39:47 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-09-10 09:39:47 +0000 |
commit | 867bef6674fbccfc8a8aed4f96d7a52b22a60791 (patch) | |
tree | 00287154d2002cb9fcf5ee8ec55b7ebfd9ad4aa5 /data/rbot/plugins/url.rb | |
parent | eea3e8b5cf1bd6c16dbae2bfa62e271bca4ac9a6 (diff) |
url plugin: loopback is 127.x.x.x, not just 127.0.0.1
Diffstat (limited to 'data/rbot/plugins/url.rb')
-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 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") |