Show More
@@ -12,7 +12,9 b' MaxTextLength = 30000' | |||||
12 | MaxFileSize = 8000000 |
|
12 | MaxFileSize = 8000000 | |
13 | LimitFirstPosting = true |
|
13 | LimitFirstPosting = true | |
14 | LimitPostingSpeed = true |
|
14 | LimitPostingSpeed = true | |
15 |
PowDifficulty = |
|
15 | PowDifficulty = 0 | |
|
16 | # Delay in seconds | |||
|
17 | PostingDelay = 30 | |||
16 |
|
18 | |||
17 | [Messages] |
|
19 | [Messages] | |
18 | # Thread bumplimit |
|
20 | # Thread bumplimit |
@@ -340,7 +340,7 b' class PostForm(NeboardForm):' | |||||
340 | def _validate_posting_speed(self): |
|
340 | def _validate_posting_speed(self): | |
341 | can_post = True |
|
341 | can_post = True | |
342 |
|
342 | |||
343 | posting_delay = settings.POSTING_DELAY |
|
343 | posting_delay = board_settings.get_int('Forms', 'PostingDelay') | |
344 |
|
344 | |||
345 | if board_settings.get_bool('Forms', 'LimitPostingSpeed'): |
|
345 | if board_settings.get_bool('Forms', 'LimitPostingSpeed'): | |
346 | now = time.time() |
|
346 | now = time.time() |
General Comments 0
You need to be logged in to leave comments.
Login now