Obsolete refactor - ConnectedClient to Channel (#24409)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using Content.Server.Administration;
|
||||
using Content.Server.Administration;
|
||||
using Content.Server.Database;
|
||||
using Content.Shared.Administration;
|
||||
using Content.Shared.CCVar;
|
||||
@@ -137,7 +137,7 @@ public sealed class KickNonWhitelistedCommand : LocalizedCommands
|
||||
|
||||
if (!await db.GetWhitelistStatusAsync(session.UserId))
|
||||
{
|
||||
net.DisconnectChannel(session.ConnectedClient, Loc.GetString("whitelist-not-whitelisted"));
|
||||
net.DisconnectChannel(session.Channel, Loc.GetString("whitelist-not-whitelisted"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user