From 09fe516871a8872daa369fd40dbf317083bfdbc9 Mon Sep 17 00:00:00 2001 From: mirzaev Date: Thu, 4 Jan 2024 04:31:28 +0700 Subject: [PATCH] senya fix --- mirzaev/marina/system/controllers/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirzaev/marina/system/controllers/index.php b/mirzaev/marina/system/controllers/index.php index 80360cd..cf11cc6 100644 --- a/mirzaev/marina/system/controllers/index.php +++ b/mirzaev/marina/system/controllers/index.php @@ -91,7 +91,7 @@ final class index extends core && rand(0, 100) < 16 and levenshtein($_word, $arsen, 2, 2, 1) < 3 || levenshtein($_word, $arsenchik, 2, 1, 2) < 4 - || levenshtein($_word, $senya, 2, 2, 1) < 3 + || (levenshtein($_word, $senya, 2, 2, 1) < 2 && $word !== 'меня' && $word !== 'тебя') ) { // Найдено обращение к Арсену, он не в сети и шанс 15%