From 57b12e8c04f100ecb827a50a6880e127a62e23cf Mon Sep 17 00:00:00 2001 From: Hide_D Date: Sat, 5 Aug 2023 08:47:45 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20Session=EC=97=90=EC=84=9C=20=EB=A1=9C?= =?UTF-8?q?=EA=B7=B8=EC=9D=B8=20=EC=A0=95=EB=B3=B4=EB=A5=BC=20=EC=84=B8?= =?UTF-8?q?=EC=8B=AC=ED=9E=88.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sammo/Session.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sammo/Session.php b/src/sammo/Session.php index e10a7f28..86ed2e82 100644 --- a/src/sammo/Session.php +++ b/src/sammo/Session.php @@ -234,6 +234,8 @@ class Session $serverID = UniqueConst::$serverID; + $globalLoginDate = $this->get('time'); + $loginDate = $this->get($serverID.static::GAME_KEY_DATE); $generalID = $this->get($serverID.static::GAME_KEY_GENERAL_ID); $generalName = $this->get($serverID.static::GAME_KEY_GENERAL_NAME); @@ -241,6 +243,7 @@ class Session $now = time(); if ( + $globalLoginDate < $loginDate && $generalID && $generalName && $loginDate && $deadTime && $loginDate + 1800 > $now && $deadTime > $now ) {