X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fcluster.pl;h=a38e5a1095d2e325c1c35ecf9160544841303af4;hb=2733a992ac8c3d315c110a2cc1984ea0a5e5d0ff;hp=8f41a1b8b619ed8f68079e81dff90615b3ba17d2;hpb=a399f3b8cf792742d313326a5867071466e71aba;p=spider.git diff --git a/perl/cluster.pl b/perl/cluster.pl index 8f41a1b8..a38e5a10 100755 --- a/perl/cluster.pl +++ b/perl/cluster.pl @@ -235,7 +235,7 @@ sub new_channel $user->long($main::mylongitude); $user->qra($main::mylocator); } - $user->startt($main::systime); + $user->startt($main::systime); $conn->conns($call); $dxchan = Web->new($call, $conn, $user); $dxchan->enhanced(1); @@ -251,6 +251,7 @@ sub new_channel # is he locked out ? $user = DXUser::get_current($call); + $conn->conns($call); my $basecall = $call; $basecall =~ s/-\d+$//; # remember this for later multiple user processing my $lock; @@ -411,6 +412,7 @@ sub cease UDPMsg::finish(); # end everything else + RBN::finish(); DXUser::finish(); DXDupe::finish(); @@ -561,6 +563,9 @@ sub setup_start dbg("loading user file system ..."); DXUser::init(4); # version 4 == json format + Filter::init(); # doesn't do much, but has to be done + + # look for the sysop and the alias user and complain if they aren't there { die "\$myalias \& \$mycall are the same ($mycall)!, they must be different (hint: make \$mycall = '${mycall}-2';). Oh and don't forget to rerun create_sysop.pl!" if $mycall eq $myalias; @@ -682,6 +687,9 @@ sub setup_start dbg("reading database descriptors ..."); DXDb::load(); + dbg("starting RBN ..."); + RBN::init(); + # starting local stuff dbg("doing local initialisation ..."); QSL::init(1); @@ -754,18 +762,17 @@ sub per_sec IsoTime::update($systime); DXCommandmode::process(); # process ongoing command mode stuff DXProt::process(); # process ongoing ak1a pcxx stuff - DXCron::process(); # do cron jobs DXXml::process(); DXConnect::process(); DXMsg::process(); DXDb::process(); DXUser::process(); DXDupe::process(); - DXCron::process(); # do cron jobs IsoTime::update($systime); DXConnect::process(); DXUser::process(); AGWMsg::process(); + DXCron::process(); # do cron jobs Timer::handler(); DXLog::flushall(); @@ -776,20 +783,19 @@ sub per_10_sec } - sub per_minute { - + RBN::per_minute(); } sub per_10_minute { - + RBN::per_10_minute(); } sub per_hour { - + RBN::per_hour(); } sub per_day