##// END OF EJS Templates
Fixed limiting posting speed
neko259 -
r832:e351426f default
parent child Browse files
Show More
@@ -181,10 +181,6 b' class PostForm(NeboardForm):'
181 def _validate_posting_speed(self):
181 def _validate_posting_speed(self):
182 can_post = True
182 can_post = True
183
183
184 # TODO Remove this, it's only for test
185 if not 'user_id' in self.session:
186 return
187
188 posting_delay = settings.POSTING_DELAY
184 posting_delay = settings.POSTING_DELAY
189
185
190 if board_settings.LIMIT_POSTING_SPEED and LAST_POST_TIME in \
186 if board_settings.LIMIT_POSTING_SPEED and LAST_POST_TIME in \
General Comments 0
You need to be logged in to leave comments. Login now