diff options
| author | 2012-05-30 22:12:30 +0000 | |
|---|---|---|
| committer | 2012-05-30 22:12:30 +0000 | |
| commit | d7aa95f5ee6f1d03c707f5a1ecc87f6c3dee0b05 (patch) | |
| tree | bb87b71e6be9ada37e7d3c4e7a6e7f9e7e417b6d /meta.pl | |
| parent | 14eb8a77479507875fe77640dd044d1a462e568a (diff) | |
make rules private, properly handle ghosting/releasing, added a proxy list, much faster join/startup
Diffstat (limited to 'meta.pl')
| -rwxr-xr-x | meta.pl | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -20,11 +20,14 @@ $::debug = 0; $::cset = ''; %::debugx = ( "dnsbl" => 0, - "pingpong" => 0 + "pingpong" => 0, + "services" => 1, + "sync" => 1 ); %::dsock = (); %::spy = (); $::starttime = time; +@::syncqueue = (); BEGIN { my @modules = qw/Util Xml Inspect Event Services Log Command Classes Mysql/; @@ -72,6 +75,14 @@ sub init { my @strbl = io('string_blacklist.txt')->getlines; chomp @strbl; @::string_blacklist = @strbl; + %::proxies = {}; + my @proxy = io('proxy.txt')->getlines; + chomp @proxy; + foreach my $line (@proxy) { + if ($line =~ /(\d+\.\d+\.\d+\.\d+):\d+/) { + $::proxies{$1} = 1; + } + } $irc->start(); } |
