diff options
| author | Savetheinternet <savetheinternet@n0v4.com> | 2011-03-27 23:06:57 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@n0v4.com> | 2011-03-27 23:06:57 +1100 |
| commit | 187b476aae28814d496903b9b46502045054487b (patch) | |
| tree | fdc2a3eead9e3ccd4901a5c0935bc58a9aecd87e /post.php | |
| parent | 49e9103daffa0a7289b0e342040fed77eda63770 (diff) | |
Flood filters
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -332,6 +332,21 @@ // Matched filter continue; } + } elseif($condition == 'name') { + if(preg_match($value, $post['name'])) + continue; + } elseif($condition == 'trip') { + if(preg_match($value, $post['trip'])) + continue; + } elseif($condition == 'email') { + if(preg_match($value, $post['email'])) + continue; + } elseif($condition == 'subject') { + if(preg_match($value, $post['subject'])) + continue; + } elseif($condition == 'body') { + if(preg_match($value, $post['body_nomarkup'])) + continue; } elseif($condition == 'OP') { // Am I OP? if($value == $OP) |
