From 1de0d465eb24ef4777a4fb26188b18c44fe1fda3 Mon Sep 17 00:00:00 2001 From: lopar Date: Wed, 10 Mar 2021 23:45:16 +0200 Subject: [PATCH] =?UTF-8?q?=D0=AD=D0=BA=D1=81=D0=B5=D0=BF=D1=88=D0=BE?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=BD=D0=B5=20=D0=BD=D1=83=D0=B6=D0=BD=D1=8B.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/Battles/UserInfo.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/Battles/UserInfo.php b/classes/Battles/UserInfo.php index ed26067..ab9681f 100644 --- a/classes/Battles/UserInfo.php +++ b/classes/Battles/UserInfo.php @@ -172,14 +172,14 @@ INFO; $effects = new EffectsModel($this->id); if ($this->block && (!$this->watcherIsAdmin || !$this->watcherIsModerator)) { - throw new GameException('Персонаж ' . $this->login . ' заблокирован!'); + echo "Персонаж $this->login заблокирован!"; } elseif ($effects->getHideUserInfoStatus() && (!$this->watcherIsAdmin || !$this->watcherIsModerator)) { if ($effects->getHideUserInfoStatus() == -1) { $date = 'навсегда'; } else { $date = 'до' . date('d.m.Y', strtotime($effects->getHideUserInfoStatus())); } - throw new GameException('Персонаж ' . $this->login . ' обезличен ' . $date . '.'); + echo "Персонаж $this->login обезличен $date."; } else { $this->Info(); }