X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fset%2Fpage.pl;h=4f76d2a46abbf9b537d58460bd5ad1753864da37;hb=a9b7071fedfdb2150f3ef3d74e0d626b4f2dc0ea;hp=f7dc64dc19015e3b9b489ffc76de9f64f21e4505;hpb=4d3067793942b3f4518615906dde50db5b76464a;p=spider.git diff --git a/cmd/set/page.pl b/cmd/set/page.pl index f7dc64dc..4f76d2a4 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 = 20 if $l == 0; $l = 10 if $l < 10; $self->pagelth($l); -return (1); +return (1, $self->msg('pagelth', $l));