Allow admins to bypass flood filters

This commit is contained in:
Savetheinternet 2011-02-17 17:07:22 +11:00
parent 1d20b669a8
commit f6d0bea5f7
2 changed files with 3 additions and 1 deletions

View file

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