From f100e6a9d438fd8e5ad8288557dbbf7ee1d3bc00 Mon Sep 17 00:00:00 2001 From: Shish Date: Fri, 20 Jan 2012 04:05:54 +0000 Subject: [PATCH] 5 may have been a little extreme --- ext/comment/main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/comment/main.php b/ext/comment/main.php index c71ebc2a..438f9d50 100644 --- a/ext/comment/main.php +++ b/ext/comment/main.php @@ -147,14 +147,14 @@ class CommentList extends SimpleExtension { } else if($event->get_arg(0) == "list") { $page_num = int_escape($event->get_arg(1)); - if($page_num <= 5) { + if($page_num <= 100) { $this->build_page($page_num); } else { header("HTTP/1.0 403 Blocked"); $this->theme->display_error($page, "This page is history~", - "Only the first 5 pages of comments are visible ". + "Only the first 100 pages of comments are visible ". "- 99% of the traffic to older pages was bots, and ". "they were hammering the database o.o"); }