summaryrefslogtreecommitdiff
path: root/fml/lib
diff options
context:
space:
mode:
authorfukachan <fukachan>2004-11-14 11:18:23 +0000
committerfukachan <fukachan>2004-11-14 11:18:23 +0000
commitd66d0a0be5d46b59be46e915190b6ca3e88fab57 (patch)
tree950054222ab1f12caa753eeccb9cc65b6336c338 /fml/lib
parent97c493ce1cbcd6f199e83958418e3d297373f84b (diff)
downloadfml8-d66d0a0be5d46b59be46e915190b6ca3e88fab57.tar.gz
fml8-d66d0a0be5d46b59be46e915190b6ca3e88fab57.tar.bz2
fml8-d66d0a0be5d46b59be46e915190b6ca3e88fab57.zip
define $article_post_article_thread_lifetime anyway (hmm, valid?)
Diffstat (limited to 'fml/lib')
-rw-r--r--fml/lib/FML/Restriction/Post.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/fml/lib/FML/Restriction/Post.pm b/fml/lib/FML/Restriction/Post.pm
index dac29f74..00d9ac3a 100644
--- a/fml/lib/FML/Restriction/Post.pm
+++ b/fml/lib/FML/Restriction/Post.pm
@@ -4,7 +4,7 @@
# All rights reserved. This program is free software; you can
# redistribute it and/or modify it under the same terms as Perl itself.
#
-# $FML: Post.pm,v 1.13 2004/07/23 13:16:43 fukachan Exp $
+# $FML: Post.pm,v 1.14 2004/10/28 03:32:52 fukachan Exp $
#
package FML::Restriction::Post;
@@ -163,7 +163,8 @@ sub check_article_thread
my $header = $curproc->incoming_message_header();
my $reflist = $header->extract_message_id_references() || [];
my $curtime = time;
- my $limit = 3600*24*7;
+ my $_limit = $config->{ article_post_article_thread_lifetime } || 0;
+ my $limit = $_limit || 3600*24*7;
my $match = 0;
SEARCH_ID: