change timeout setting

This commit is contained in:
dennydai 2016-06-27 15:07:06 +08:00
parent 1f47f997ba
commit 76bf36938b

View File

@ -13,7 +13,7 @@ if ($GET['message']['chat']['id'] > 0) {
$msgid = $GET['message']['message_id']; $msgid = $GET['message']['message_id'];
$from = $GET['message']['chat']['id']; $from = $GET['message']['chat']['id'];
$date = $GET['message']['date']; $date = $GET['message']['date'];
if ((time() - $date) > 120) { if ((time() - $date) > 10) {
$text = 'unset'; $text = 'unset';
}else { }else {
$text = $GET['message']['text']; $text = $GET['message']['text'];