X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?p=spider.git;a=blobdiff_plain;f=perl%2FDXProt.pm;h=627356823274c7fe1d5aee98935b3693d7858d3e;hp=552468b92cf9ab22a0407a2fdd7ea77fcb2706fb;hb=602b16e109137598da1bb8a363c0bfb4028701b3;hpb=b5b58db69484da5554b4f7e10b813d13e8cf16cb diff --git a/perl/DXProt.pm b/perl/DXProt.pm index 552468b9..62735682 100644 --- a/perl/DXProt.pm +++ b/perl/DXProt.pm @@ -252,8 +252,10 @@ sub normal if ($pcno == 21) { # delete a cluster from the list my $call = uc $field[1]; - my $ref = DXCluster->get($call); - $ref->del() if $ref; + if ($call ne $main::mycall) { # don't allow malicious buggers to disconnect me! + my $ref = DXCluster->get($call); + $ref->del() if $ref; + } last SWITCH; }