Ненужная переменная.

This commit is contained in:
2023-12-02 01:50:52 +02:00
committed by Ivor Barhansky
parent 47e90c261b
commit c3591977b8
4 changed files with 11 additions and 15 deletions
+2 -4
View File
@@ -30,13 +30,11 @@ if (!empty($uu['battle'])) {
\Core\Db::sql('update users left join stats on users.id = stats.id set battle = default, regHP = unix_timestamp(), team = 0, battle_yron = 0, battle_exp = 0 where users.id = ?', [$uu['id']]);
}
$rtxt = "Персонаж {$uu['login']} заблокирован.";
$uer = "Персонаж {$uu['login']} заблокирован.";
$cmsg = new ChatMessage();
$cmsg->setRoom($u->info['room']);
$cmsg->setText("[img[items/pal_button6.gif]] $rtxt");
$cmsg->setText("[img[items/pal_button6.gif]] $uer");
$cmsg->setType(6);
$cmsg->setTypeTime(1);
(new Chat())->sendMsg($cmsg);
$uer = $rtxt;