X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fisolate.pl;h=17470bde4b69645abb7ced95e6e73e6d82fb5eba;hb=c3505bcfc922cd712bad2c20b3479cf8d1dc54fe;hp=bb66e5177777a7d9069e7a5537eae934e2733a15;hpb=75bf122b6d6d233a83a19be9842b21d546519023;p=spider.git diff --git a/cmd/show/isolate.pl b/cmd/show/isolate.pl index bb66e517..17470bde 100644 --- a/cmd/show/isolate.pl +++ b/cmd/show/isolate.pl @@ -5,7 +5,7 @@ # # Copyright (c) 2000 Dirk Koopman G1TLH # -# $Id$ +# # my ($self, $line) = @_; @@ -16,8 +16,8 @@ my @out; use DB_File; my ($action, $count, $key, $data) = (0,0,0,0); -for ($action = DXUser::R_FIRST, $count = 0; !$DXUser::dbm->seq($key, $data, $action); $action = DXUser::R_NEXT) { - if ($data =~ m{isolate =>}) { +for ($action = DXUser::R_FIRST, $count=0; !$DXUser::dbm->seq($key, $data, $action); $action = DXUser::R_NEXT) { + if ($data =~ m{isolate}) { my $u = DXUser->get_current($key); if ($u && $u->isolate) { push @out, $key;