mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
Merge pull request #3978 from RMcGirr83/ticket_13851
[ticket/13851] Fix ignore flood limit check * RMcGirr83/ticket_13851: [ticket/13851] Fix ignore flood limit check
This commit is contained in:
commit
bc11e648af
1 changed files with 2 additions and 1 deletions
|
@ -1027,7 +1027,8 @@ if ($submit || $preview || $refresh)
|
||||||
$message_parser->bbcode_bitfield = $post_data['bbcode_bitfield'];
|
$message_parser->bbcode_bitfield = $post_data['bbcode_bitfield'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($mode != 'edit' && !$preview && !$refresh && $config['flood_interval'] && !$auth->acl_get('f_ignoreflood', $forum_id))
|
$ignore_flood = $auth->acl_get('u_ignoreflood') ? true : $auth->acl_get('f_ignoreflood', $forum_id);
|
||||||
|
if ($mode != 'edit' && !$preview && !$refresh && $config['flood_interval'] && !$ignore_flood)
|
||||||
{
|
{
|
||||||
// Flood check
|
// Flood check
|
||||||
$last_post_time = 0;
|
$last_post_time = 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue