mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
force bots to all use the same profile
use C# 7.1 for projects
This commit is contained in:
@ -215,7 +215,7 @@ namespace IW4MAdmin
|
||||
var existingClient = GetClientsAsList().FirstOrDefault(_client => _client.Equals(E.Origin));
|
||||
|
||||
// they're already connected
|
||||
if (existingClient != null)
|
||||
if (existingClient != null && !E.Origin.IsBot)
|
||||
{
|
||||
Logger.WriteWarning($"detected preconnect for {E.Origin}, but they are already connected");
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user