From 147a39e67a4d9cff710a0c84830f9774ac8171d0 Mon Sep 17 00:00:00 2001 From: Mestima Date: Tue, 25 Aug 2020 05:48:04 +0300 Subject: [PATCH] useless code removed --- web/send.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/web/send.php b/web/send.php index b68f923..02f6bc0 100644 --- a/web/send.php +++ b/web/send.php @@ -11,10 +11,7 @@ http://github.com/Mestima */ - if (isset($_POST["content"]) != true || isset($_POST["webhook"]) != true || - $_POST["content"] == "" || $_POST["webhook"] == "") { - exit(); - } + if (!isset($_POST["content"]) || !isset($_POST["webhook"])) exit(); $options = array( 'http' => array(