X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FDXProtHandle.pm;h=748506be3bdb1411c55e84ec408eae3c225601b4;hb=0a81dd5596a3bd7746f00bad8f7c61b8d823a2ac;hp=7332d669d4d4fd5c10bfe73e0bb41785cba7bb40;hpb=05098443ef847d395ed19b72b427cb8ba7d33dca;p=spider.git diff --git a/perl/DXProtHandle.pm b/perl/DXProtHandle.pm index 7332d669..748506be 100644 --- a/perl/DXProtHandle.pm +++ b/perl/DXProtHandle.pm @@ -879,9 +879,6 @@ sub handle_22 my $line = shift; my $origin = shift; - $self->state('normal'); - $self->{lastping} = 0; - if ($self->{do_pc92}) { if ($self->{state} ne 'init92') { dbg("PCPROT: disconnecting because login call not sent in any pc92") if isdbg('chanerr'); @@ -900,6 +897,8 @@ sub handle_22 } else { $self->send_delayed_pc92; } + $self->{lastping} = 0; + $self->state('normal'); } # WWV info