X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fpage.pl;h=6b5097593de42b8ac448b6144cf13a6c5f3f8bd8;hb=5275b86607057a0960cdf03b41b8092a3d813e57;hp=4f76d2a46abbf9b537d58460bd5ad1753864da37;hpb=a9b7071fedfdb2150f3ef3d74e0d626b4f2dc0ea;p=spider.git diff --git a/cmd/set/page.pl b/cmd/set/page.pl index 4f76d2a4..6b509759 100644 --- a/cmd/set/page.pl +++ b/cmd/set/page.pl @@ -7,7 +7,7 @@ # 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));