This commit is contained in:
lopar 2018-11-05 23:02:19 +02:00
parent 7618c3d64c
commit 60a5f64ff9

View File

@ -2518,7 +2518,7 @@ function addchp($text, $who, $room = 0)
* Отправка системного сообщения в чат. * Отправка системного сообщения в чат.
*/function AddChatSystem($msg) */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) function err($t)