From b757713d0861d75cb5552f5cfd87573eaa52c767 Mon Sep 17 00:00:00 2001 From: wong <106998207@qq.com> Date: Tue, 8 Jul 2025 09:59:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Server/application/command/SwitchFriendsCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/application/command/SwitchFriendsCommand.php b/Server/application/command/SwitchFriendsCommand.php index 38575b9b..422fb4bf 100644 --- a/Server/application/command/SwitchFriendsCommand.php +++ b/Server/application/command/SwitchFriendsCommand.php @@ -38,7 +38,7 @@ class SwitchFriendsCommand extends Command $toSwitch = []; foreach ($friends as $friend) { - if (isset($friend['time']) && $friend['time'] > $now) { + if (isset($friend['time']) && $friend['time'] < $now) { $toSwitch[] = $friend; } }