diff --git a/Web/Presenters/OpenVKPresenter.php b/Web/Presenters/OpenVKPresenter.php index 1cf1e86f..2a19fa03 100755 --- a/Web/Presenters/OpenVKPresenter.php +++ b/Web/Presenters/OpenVKPresenter.php @@ -250,7 +250,7 @@ abstract class OpenVKPresenter extends SimplePresenter $userValidated = 1; $cacheTime = 0; # Force no cache - if ($this->user->identity->onlineStatus() == 0) { + if($this->user->identity->onlineStatus() == 0 && !($this->user->identity->isDeleted() || $this->user->identity->isBanned())) { $this->user->identity->setOnline(time()); $this->user->identity->save(); }