Skip to content

Commit

Permalink
Merge pull request #8 from UnusualNorm/default-afk
Browse files Browse the repository at this point in the history
Set Default AFK Immunity to False
  • Loading branch information
thesprockee committed Nov 12, 2023
2 parents 3b1de12 + 7000147 commit a6423bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EchoRelay.Core/Server/Services/Login/LoginService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ private async Task ProcessLoginRequest(Peer sender, LoginRequest request)
string displayName = request.UserId.PlatformCode == PlatformCode.DMO ? "Anonymous [DEMO]" : $"User [{RandomNumberGenerator.GetInt32(int.MaxValue).ToString("X")}]";

// Create an account for this user id. We use the platform identifier string as the display name.
account = new AccountResource(request.UserId, displayName, true, true, true);
account = new AccountResource(request.UserId, displayName, true, true, false);
account.Profile.Server.CreateTime = currentTimestamp;
}
else
Expand Down

0 comments on commit a6423bd

Please sign in to comment.