added "bumplocking" feature

This commit is contained in:
Savetheinternet committed 2011-10-10 22:37:39 +11:00
1 parent 851d8eaa9b
commit ffb215eb47
6 files changed
+75 -9

No files matched your search

+1 -1
View File
@@ -545,7 +545,7 @@
buildThread(($OP?$id:$post['thread']));
if(!$OP && strtolower($post['email']) != 'sage' && ($config['reply_limit'] == 0 || numPosts($post['thread']) < $config['reply_limit'])) {
if(!$OP && strtolower($post['email']) != 'sage' && !threadSageLocked($post['thread']) && ($config['reply_limit'] == 0 || numPosts($post['thread']) < $config['reply_limit'])) {
bumpThread($post['thread']);
}