Fix oversight

This commit is contained in:
discomrade 2021-05-04 22:42:06 +00:00 committed by GitHub
parent 16cb2ab75c
commit df98d2e66c

View File

@ -406,7 +406,7 @@ $config['wordfilters'][] = array('/nigg/i', 'uygh', true);
$config['filters'][] = array(
'condition' => array(
'!body' => '/(^[^>]|[\r\n][^>])/', // Greentexting only (does not contain non-greentext)
'filename' => '/[a-z]+.jpg/' // Only lowercase letters, .jpg
'filename' => '/^[a-z]+\.jpg/' // Only lowercase letters, .jpg
),
'action' => 'reject',
'message' => 'Flood detected; Post discarded.'