summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-02-17 17:07:22 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-02-17 17:07:22 +1100
commitf6d0bea5f77a96f6e04eb28fc7727ec9a615e16c (patch)
treeab796e9b92baabe5443d51416a9dafcbeca247a0 /post.php
parent1d20b669a86978f2f8183a69c53d4bc88b9f20a4 (diff)
Allow admins to bypass flood filters
Diffstat (limited to 'post.php')
-rw-r--r--post.php2
1 files changed, 1 insertions, 1 deletions
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']);
}