X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProtHandle.pm;h=cc22314851b15182de57bc43e1ca7cb63f723704;hb=94e76dad0019a02d1bcea6a3d3396b1db046b8c3;hp=5170fa6ca352cc473aade045a1e4c9c7ad01cc9e;hpb=893a6f6711e298eda86d8696093bf223c431729f;p=spider.git diff --git a/perl/DXProtHandle.pm b/perl/DXProtHandle.pm index 5170fa6c..cc223148 100644 --- a/perl/DXProtHandle.pm +++ b/perl/DXProtHandle.pm @@ -37,9 +37,6 @@ use RouteDB; use strict; -use vars qw($VERSION $BRANCH); -($VERSION, $BRANCH) = dxver(q$Revision$); - use vars qw($pc11_max_age $pc23_max_age $last_pc50 $eph_restime $eph_info_restime $eph_pc34_restime $last_hour $last10 %eph %pings %rcmds $ann_to_talk $pingint $obscount %pc19list $chatdupeage $chatimportfn @@ -872,6 +869,11 @@ sub handle_21 return; } + if (eph_dup($line)) { + dbg("PCPROT: dup PC21 detected") if isdbg('chanerr'); + return; + } + if (@rout) { $self->route_pc21($origin, $line, @rout); # $self->route_pc92d($main::mycall, $line, $main::routeroot, @rout);