move userconfig and nodeconfig to stat
[spider.git] / perl / DXCommandmode.pm
index 0f80232ac8432636ef1d65a6f9a0bf609672e960..fc43a4e1139bdbe025ddacea311699316e43bea5 100644 (file)
@@ -416,11 +416,8 @@ sub disconnect
                $node->dxchan($DXProt::me);
        }
 
-       my $pref = Route::Node::get($main::mycall);
-       if ($pref) {
-               my @rout = $pref->del_user($main::mycall);
-               dbg('route', "B/C PC17 on $main::mycall for: $call");
-       }
+       my @rout = $main::routeroot->del_user($call);
+       dbg('route', "B/C PC17 on $main::mycall for: $call");
 
        # I was the last node visited
     $self->user->node($main::mycall);