From f6d0bea5f77a96f6e04eb28fc7727ec9a615e16c Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Thu, 17 Feb 2011 17:07:22 +1100 Subject: Allow admins to bypass flood filters --- post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'post.php') 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']); } -- cgit v1.3