From 576d19633684578d6513484744055404a0acd885 Mon Sep 17 00:00:00 2001 From: neon <> Date: Wed, 15 May 2019 18:06:29 +0200 Subject: [PATCH] NSM: change logging --- NoSteamManager/scripting/NoSteamManager_Connect.sp | 2 +- NoSteamManager/scripting/NoSteamManager_RevEmu.sp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NoSteamManager/scripting/NoSteamManager_Connect.sp b/NoSteamManager/scripting/NoSteamManager_Connect.sp index 9b0d599c..2c406df5 100644 --- a/NoSteamManager/scripting/NoSteamManager_Connect.sp +++ b/NoSteamManager/scripting/NoSteamManager_Connect.sp @@ -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; } diff --git a/NoSteamManager/scripting/NoSteamManager_RevEmu.sp b/NoSteamManager/scripting/NoSteamManager_RevEmu.sp index 4a5ee612..329f2918 100644 --- a/NoSteamManager/scripting/NoSteamManager_RevEmu.sp +++ b/NoSteamManager/scripting/NoSteamManager_RevEmu.sp @@ -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; }