- Fixed "Offline pilots still show up" bug, closed #830

This commit is contained in:
Mark Friedrich
2019-07-29 23:19:54 +02:00
parent 35555f1254
commit e32bc21445

View File

@@ -65,7 +65,7 @@ class CharacterUpdate extends AbstractCron {
*/
if(is_object($characterLog->characterId)){
if($accessToken = $characterLog->characterId->getAccessToken()){
if($this->isOnline($accessToken)){
if($characterLog->characterId->isOnline($accessToken)){
// force characterLog as "updated" even if no changes were made
$characterLog->touch('updated');
$characterLog->save();