Watchdbg, grepdbg args change, fix pc92c for rbn
[spider.git] / perl / Route.pm
index 9e5926442b4f40e0e409bb4224cdc6927f44d498..304b9c6830b97f77bde4767cc64ad954c2a310e1 100644 (file)
@@ -224,12 +224,14 @@ sub config
                                        my $c;
                                        if ($uref) {
                                                $c = $uref->user_call;
-                                       } else {
+                                       }
+                                       else {
                                                $c = "$ucall?";
                                        }
                                        if ((length $line) + (length $c) + 1 < $width) {
                                                $line .= $c . ' ';
-                                       } else {
+                                       }
+                                       else {
                                                $line =~ s/\s+$//;
                                                push @out, $line;
                                                $line = ' ' x ($level*2) . "$pcall->$c ";
@@ -240,7 +242,8 @@ sub config
                $line =~ s/->$//g;
                $line =~ s/\s+$//;
                push @out, $line if length $line;
-       } else {
+       }
+       else {
                # recursion detector
                if ((DXChannel::get($call) && $level > 1) || $seen->{$call} || $level > $maxlevel) {
                        return @out;
@@ -272,10 +275,10 @@ sub cluster
 {
        my $nodes = Route::Node::count();
        my $tot = Route::User::count();
-       my ($users, $maxlocalusers) = DXCommandmode::user_count();
+       my ($users, $maxlocalusers) = DXCommandmode::user_count(); # the user count is wrong because of skimmers
        my $maxusers = Route::User::max();
        my $uptime = main::uptime();
-       my $localnodes = $DXChannel::count - $users;
+       my $localnodes = $DXChannel::count - $users;   # this is now wrong because of skimmers
        
        return ($nodes, $tot, $users, $maxlocalusers, $maxusers, $uptime, $localnodes);