Log server ID in connection logs table (#21911)
This commit is contained in:
committed by
GitHub
parent
e639006d42
commit
b4f8393f42
@@ -463,7 +463,8 @@ namespace Content.Server.Database
|
||||
string userName,
|
||||
IPAddress address,
|
||||
ImmutableArray<byte> hwId,
|
||||
ConnectionDenyReason? denied)
|
||||
ConnectionDenyReason? denied,
|
||||
int serverId)
|
||||
{
|
||||
await using var db = await GetDbImpl();
|
||||
|
||||
@@ -475,6 +476,7 @@ namespace Content.Server.Database
|
||||
UserName = userName,
|
||||
HWId = hwId.ToArray(),
|
||||
Denied = denied,
|
||||
ServerId = serverId
|
||||
};
|
||||
|
||||
db.PgDbContext.ConnectionLog.Add(connectionLog);
|
||||
|
||||
Reference in New Issue
Block a user