diff --git a/utils/functions.php b/utils/functions.php index b6d9de2..7f10514 100644 --- a/utils/functions.php +++ b/utils/functions.php @@ -50,6 +50,7 @@ function get_blacklist($uid) { curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_POST, false); + curl_setopt($ch, CURLOPT_TIMEOUT, 3); curl_setopt($ch, CURLOPT_HTTPHEADER, array( "User-Agent: ".AGENT ));