X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Flockout.pl;h=178686c3b987e0565dc488133b789906537f611c;hb=cfd6c95eaa4899f2c70eca3d706d85b840c43791;hp=c1a53f0e87d3f03528bb9474531e880368af6f95;hpb=14a9a81ec729e7b3c78d775cc76882e7122fcf2d;p=spider.git diff --git a/cmd/show/lockout.pl b/cmd/show/lockout.pl index c1a53f0e..178686c3 100644 --- a/cmd/show/lockout.pl +++ b/cmd/show/lockout.pl @@ -17,14 +17,14 @@ use DB_File; if ($line) { $line =~ s/[^\w\-\/]+//g; - $line = "^\U\Q$line"; + $line = "\U\Q$line"; } return (1, $self->msg('lockoutuse')) unless $line; 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{lockout =>}) { + if ($data =~ m{lockout}) { if ($line eq 'ALL' || $key =~ /$line/) { my $ur = DXUser->get_current($key); if ($ur && $ur->lockout) {