代码优化

This commit is contained in:
wong
2025-07-08 09:59:21 +08:00
parent 7c82a3d2cc
commit b757713d08

View File

@@ -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;
}
}