Added ModSDK Logging (#404)

This change was made by @BobDaRoss
I like to help with correct pull request.
This commit is contained in:
Yuri.Sh
2020-08-23 22:40:50 +03:00
committed by GitHub
parent fad656e837
commit 3d13460302

View File

@@ -228,6 +228,7 @@ namespace Torch.Server.Managers
if (IsProfiling(steamId))
{
_log.Warn($"Rejecting user {steamId} for using Profiler/ModSDK!");
UserRejected(steamId, JoinResult.ProfilingNotAllowed);
}