1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 01:34:31 +01:00

filehash filter condition

This commit is contained in:
Michael Foster 2013-09-23 14:00:04 +10:00
parent 5fcf2e0a05
commit 3a2dfd8921

View File

@ -91,6 +91,8 @@ class Filter {
return preg_match($match, $post['subject']);
case 'body':
return preg_match($match, $post['body_nomarkup']);
case 'filehash':
return $match === $post['filehash'];
case 'filename':
if (!$post['has_file'])
return false;