diff --git a/inc/config.php b/inc/config.php index 5297f538..f386ab2a 100644 --- a/inc/config.php +++ b/inc/config.php @@ -250,6 +250,8 @@ $config['mod']['postinlocked'] = MOD; // Post bypass unoriginal content check $config['mod']['postunoriginal'] = ADMIN; + // Bypass flood check + $config['mod']['flood'] = ADMIN; // Raw HTML posting $config['mod']['rawhtml'] = MOD; diff --git a/post.php b/post.php index 8cf5d426..c932a997 100644 --- a/post.php +++ b/post.php @@ -228,7 +228,7 @@ markup($post['body']); // Check for a flood - if(checkFlood($post)) { + if(!($mod && $mod['type'] >= $config['mod']['flood']) && checkFlood($post)) { error($config['error']['flood']); }