X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Fisolate.pl;h=bb66e5177777a7d9069e7a5537eae934e2733a15;hb=db143ea6ee006dd7ffc360fcf022459d68412976;hp=c874e8a8f930f46ef16e818da4de018238dea7af;hpb=32849fc856cb0cb825657c0013dfefb125a96bab;p=spider.git diff --git a/cmd/show/isolate.pl b/cmd/show/isolate.pl index c874e8a8..bb66e517 100644 --- a/cmd/show/isolate.pl +++ b/cmd/show/isolate.pl @@ -15,8 +15,8 @@ my @out; use DB_File; -my ($action, $count, $key, $data); -for ($action = R_FIRST, $count = 0; !$DXUser::dbm->seq($key, $data, $action); $action = R_NEXT) { +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 =>}) { my $u = DXUser->get_current($key); if ($u && $u->isolate) {