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