Commit 0927f3e9 authored by JoyJ's avatar JoyJ

show reporter name

parent 97c87f71
......@@ -154,7 +154,7 @@ ygopro.ctos_follow_before('CHAT', true, async function(buffer, info, client, ser
ygopro.stoc_send_chat(client, "此卡组已被判定为无需修改,提交失败", ygopro.constants.COLORS.RED);
return;
}
msg = (new Date().toString()) + " - 由服务器端提交\r\n\r\n" + msg;
msg = (new Date().toString()) + " - 由服务器端提交(提交者:" + client.name + "\r\n\r\n" + msg;
sql = "INSERT INTO DCReport VALUES(?,?,?,'')";
sqlParams = [md5, client.ip, msg];
mysqldb.query(sql, sqlParams, function(err, result) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment