From: djk Date: Sun, 11 Oct 1998 11:13:47 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: SPIDER_1_5~26 X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=602b16e109137598da1bb8a363c0bfb4028701b3;p=spider.git *** empty log message *** --- 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; }