NSM: change logging

This commit is contained in:
neon 2019-05-15 18:06:29 +02:00
parent f3b1cd8f6c
commit 576d196336
2 changed files with 2 additions and 2 deletions

View File

@ -280,7 +280,7 @@ public void SQL_OnQueryCompleted(Database db, DBResultSet results, const char[]
}
else
{
LogMessage("%L tried to join with a legitimate steamid while not authenticated with steam. Refusing connection, IPs dont match. (Known: %s | Current: %s)", client, sResultAddress, sAddress);
LogAction(client, -1, "\"%L\" tried to join with a legitimate steamid while not authenticated with steam. Refusing connection, IPs dont match. (Known: %s | Current: %s)", client, sResultAddress, sAddress);
KickClient(client, "Trying to join with a legitimate steamid while not authenticated with steam.");
return;
}

View File

@ -268,7 +268,7 @@ public void SQL_OnQueryCompleted(Database db, DBResultSet results, const char[]
}
else
{
LogMessage("%L tried to join with a legitimate steamid while having a illegitimate connection type: '%s'. Refusing connection, IPs dont match. (Known: %s | Current: %s)", client, sConnectionType, sResultAddress, sAddress);
LogAction(client, -1, "\"%L\" tried to join with a legitimate steamid while having a illegitimate connection type: '%s'. Refusing connection, IPs dont match. (Known: %s | Current: %s)", client, sConnectionType, sResultAddress, sAddress);
KickClient(client, "Trying to join with a legitimate steamid while having a illegitimate connection.");
return;
}