added "bumplocking" feature

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

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']);
}