X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fnode.pl;h=f8e711776d9c3ef4afdb017231593d8113641979;hb=f2a65bc2f8ad7069cadc59f8fd4d2ef390567dba;hp=b41cd93f0bcd0575128556c775c64cd261b048d0;hpb=f1cc42a68aeb715c1af7148aff216a9a9f686614;p=spider.git diff --git a/cmd/show/node.pl b/cmd/show/node.pl index b41cd93f..f8e71177 100644 --- a/cmd/show/node.pl +++ b/cmd/show/node.pl @@ -16,7 +16,6 @@ my ($self, $line) = @_; return (1, $self->msg('e5')) unless $self->priv >= 1; -return (1, $self->msg('storable')) unless $DXUser::v3; my @call = map {uc $_} split /\s+/, $line; my @out; @@ -29,9 +28,10 @@ if (@call == 0) { shift @call; my ($action, $key, $data) = (0,0,0); for ($action = DXUser::R_FIRST, $count = 0; !$DXUser::dbm->seq($key, $data, $action); $action = DXUser::R_NEXT) { - if ($data =~ m{\01[ACRSX]\0\0\0\04sort}) { - push @call, $key; - ++$count; + if (iscallsign($key)) { + if ($data =~ /"sort":"[ACRSX]"/) { + push @call, $key; + } } } }