mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/13851] Fix ignore flood limit check
PHPBB3-13851
This commit is contained in:
parent
ccb3d0ac78
commit
a49a3091f9
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