X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXCommandmode.pm;h=1450a6c644cccaa3eb214a26d3e393b1102e0fa0;hb=d5b4190c36f130852973121042876af3c5642cd7;hp=e8fd7d5a6fc619c1f0ccf6e15594845261a69b2f;hpb=4c0591c17b89dbb049ba119d3f3ea15c5b56128c;p=spider.git diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index e8fd7d5a..1450a6c6 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -258,12 +258,20 @@ sub finish { my $self = shift; my $call = $self->call; - + + # log out text + if (-e "$main::data/logout") { + open(I, "$main::data/logout") or confess; + my @in = ; + close(I); + $self->sendnow('D', @in); + } + if ($call eq $main::myalias) { # unset the channel if it is us really my $node = DXNode->get($main::mycall); $node->{dxchan} = 0; } - my $ref = DXNodeuser->get($call); + my $ref = DXCluster->get_exact($call); # issue a pc17 to everybody interested my $nchan = DXChannel->get($main::mycall);