Fix chat
This commit is contained in:
parent
7618c3d64c
commit
60a5f64ff9
@ -2518,7 +2518,7 @@ function addchp($text, $who, $room = 0)
|
||||
* Отправка системного сообщения в чат.
|
||||
*/function AddChatSystem($msg)
|
||||
{
|
||||
if ($msg) db::c()->query('INSERT INTO `chat` (`cid`,`uid`,`msg`,`type`) VALUES (?i,"?s","?s","?s")', 1, 'System', $msg, 'sys');
|
||||
if ($msg) db::c()->query('INSERT INTO `chat` (`cid`,`msg`,`type`) VALUES (?i,"?s","?s")', 1, $msg, 'sys');
|
||||
}
|
||||
|
||||
function err($t)
|
||||
|
Loading…
Reference in New Issue
Block a user