mutiaccounts cookie logging

This commit is contained in:
Igor Barkov (iwork) 2020-06-23 17:54:13 +03:00
parent 3d7436c0d9
commit 61fd9ba6e9

View File

@ -23,7 +23,7 @@ if ($username && $password) {
if (!$error) {
# Проверка на мультоводство по используемому кукису.
if ($battle != null && $data['id'] != $battle) {
db::c()->query('INSERT INTO `delo_multi` (`idperslater`, `idpersnow`) VALUES (?i, ?i)', $battle, $data['id']);
db::c()->query('INSERT INTO log_multiaccounts (older_data, current_data) VALUES (?i, ?i)', $battle, $data['id']);
}
setcookie("battle", $data['id']);