Added ModSDK Logging (#404)
This change was made by @BobDaRoss I like to help with correct pull request.
This commit is contained in:
@@ -228,6 +228,7 @@ namespace Torch.Server.Managers
|
|||||||
|
|
||||||
if (IsProfiling(steamId))
|
if (IsProfiling(steamId))
|
||||||
{
|
{
|
||||||
|
_log.Warn($"Rejecting user {steamId} for using Profiler/ModSDK!");
|
||||||
UserRejected(steamId, JoinResult.ProfilingNotAllowed);
|
UserRejected(steamId, JoinResult.ProfilingNotAllowed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user