X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fpage.pl;h=38598945c5d966f07cfb3ecc1069e48f41ba5e81;hb=6b904a6db275029dd6d7a5cf0a48c1f0770ea8c2;hp=cb997c93059a7fe4c7d94ea25bea0062cf9a93c9;hpb=f155969d600561b9ef151a7ce2494a0c89aed033;p=spider.git diff --git a/cmd/set/page.pl b/cmd/set/page.pl index cb997c93..38598945 100644 --- a/cmd/set/page.pl +++ b/cmd/set/page.pl @@ -3,12 +3,11 @@ # # Copyright (c) 1998 - Dirk Koopman G1TLH # -# $Id$ +# # my $self = shift; my $l = shift; -$l = 20 if $l == 0; -$l = 10 if $l < 10; +$l = 10 if $l < 10 && $l > 0; $self->pagelth($l); $self->user->pagelth($l); return (1, $self->msg('pagelth', $l));