make the fix for intermittent bulls a bit more efficient
[spider.git] / cmd / set / page.pl
index 4f76d2a46abbf9b537d58460bd5ad1753864da37..6b5097593de42b8ac448b6144cf13a6c5f3f8bd8 100644 (file)
@@ -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));