Update api.twilio.php

This commit is contained in:
Namhyeon Go 2019-10-07 19:01:45 +09:00 committed by GitHub
parent 16b2bf2186
commit 658e2b6a5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ $response = false;
// temporary filter (example)
$terms = get_tokenized_text($message);
if(!(in_array("fuck", $terms) || in_array("bitch", $terms))) {
if(in_array("fuck", $terms) || in_array("bitch", $terms)) {
$action = "denied";
}