NSM: change logging
This commit is contained in:
parent
f3b1cd8f6c
commit
576d196336
@ -280,7 +280,7 @@ public void SQL_OnQueryCompleted(Database db, DBResultSet results, const char[]
|
|||||||
}
|
}
|
||||||
else
|
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.");
|
KickClient(client, "Trying to join with a legitimate steamid while not authenticated with steam.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -268,7 +268,7 @@ public void SQL_OnQueryCompleted(Database db, DBResultSet results, const char[]
|
|||||||
}
|
}
|
||||||
else
|
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.");
|
KickClient(client, "Trying to join with a legitimate steamid while having a illegitimate connection.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user