Browse Source

Allow admins to bypass flood filters

pull/40/head
Savetheinternet 13 years ago
parent
commit
f6d0bea5f7
  1. 2
      inc/config.php
  2. 2
      post.php

2
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;

2
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']);
}

Loading…
Cancel
Save