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:
parent
5fcf2e0a05
commit
3a2dfd8921
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user