From fbea66d2e627bfe58b3fef058ee2bf859a9e081c Mon Sep 17 00:00:00 2001 From: edward Date: Mon, 15 Jan 2018 16:08:37 +0800 Subject: [PATCH] Pman/Login.php --- Pman/Login.php | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/Pman/Login.php b/Pman/Login.php index be76497..0546b5c 100644 --- a/Pman/Login.php +++ b/Pman/Login.php @@ -518,19 +518,12 @@ class Pman_Login extends Pman return; } - print_R(strtotime($core_ip_access->expire_dt));exit; - - print_R($core_ip_access);exit; - - $core_ip_access->sendXMPP(); - exit; - - - - - - + if(strtotime($core_ip_access->expire_dt) > 0 && strtotime($core_ip_access->expire_dt) < strtotime('NOW')){ + $this->jerr('PENDING-IP-ADDRESS', array('ip' => $ip)); + return; + } + return; } function ip_lookup() -- 2.39.2