X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fcluster.pl;h=203f6956a1bc8a011dd054b3e21e6d64c8ceacbd;hb=99da9d68a4fee5b30fa90b679a9e015add2b75c9;hp=61478887d1b29f7c1cf39f73a74061cd4e6d7227;hpb=f5028d38602385a6614c6234fa4165ee4f9e159c;p=spider.git diff --git a/perl/cluster.pl b/perl/cluster.pl index 61478887..203f6956 100755 --- a/perl/cluster.pl +++ b/perl/cluster.pl @@ -100,7 +100,7 @@ package main; use strict; use vars qw(@inqueue $systime $version $starttime $lockfn @outstanding_connects $zombies $root @listeners $lang $myalias @debug $userfn $clusteraddr - $clusterport $mycall $decease $is_win $routeroot $me + $clusterport $mycall $decease $is_win $routeroot $me $reqreg ); @inqueue = (); # the main input queue, an array of hashes @@ -109,6 +109,7 @@ $version = "1.49"; # the version no of the software $starttime = 0; # the starting time of the cluster #@outstanding_connects = (); # list of outstanding connects @listeners = (); # list of listeners +$reqreg = 0; # 1 = registration required, 2 = deregister people use vars qw($VERSION $BRANCH $build $branch); $VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ ); @@ -310,7 +311,6 @@ sub process_inqueue die "\$user not defined for $call" if !defined $user; # normal input $dxchan->normal($line); - $dxchan->disconnect if ($dxchan->{state} eq 'bye'); } elsif ($sort eq 'Z') { $dxchan->disconnect; } elsif ($sort eq 'D') { @@ -362,7 +362,7 @@ $build = "$build.$branch" if $branch; Log('cluster', "DXSpider V$version, build $build started"); # banner -dbg("Copyright (c) 1998-2001 Dirk Koopman G1TLH"); +dbg("Copyright (c) 1998-2002 Dirk Koopman G1TLH"); dbg("DXSpider Version $version, build $build started"); # load Prefixes