Ненужная переменная.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user