add bits on sh/debug and set/debug to adminmanual
[spider.git] / perl / DXCommandmode.pm
index aea2064e615b3754bfb6ec849428211455702d94..197288d5249d84cf957f65b0dce901e11b11d164 100644 (file)
@@ -30,6 +30,7 @@ use AnnTalk;
 use WCY;
 use Sun;
 use Internet;
+use IO::File;
 
 use strict;
 use vars qw(%Cache %cmd_cache $errstr %aliases $scriptbase);
@@ -384,7 +385,7 @@ sub process
 #
 # finish up a user context
 #
-sub finish
+sub disconnect
 {
        my $self = shift;
        my $call = $self->call;
@@ -409,6 +410,8 @@ sub finish
        Log('DXCommand', "$call disconnected");
        my $ref = DXCluster->get_exact($call);
        $ref->del() if $ref;
+
+       $self->SUPER::disconnect;
 }
 
 #