]> dxcluster.org Git - spider.git/commitdiff
put the state back correctly in pc22
authorminima <minima>
Tue, 16 Jan 2007 00:52:28 +0000 (00:52 +0000)
committerminima <minima>
Tue, 16 Jan 2007 00:52:28 +0000 (00:52 +0000)
perl/DXProtHandle.pm

index 7332d669d4d4fd5c10bfe73e0bb41785cba7bb40..748506be3bdb1411c55e84ec408eae3c225601b4 100644 (file)
@@ -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