From 9d2833fc2b4c62aee59858765419504d5d933619 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Mon, 9 Apr 2012 09:39:57 +1200 Subject: [PATCH] fix spelling error in comment --- OpenRA.Game/Server/Server.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenRA.Game/Server/Server.cs b/OpenRA.Game/Server/Server.cs index aaad4a9159..bee618b478 100644 --- a/OpenRA.Game/Server/Server.cs +++ b/OpenRA.Game/Server/Server.cs @@ -189,11 +189,12 @@ namespace OpenRA.Server var client = handshake.Client; var mods = handshake.Mods; - // Check that the client has compatable mods + // Check that the client has compatible mods var valid = mods.All( m => m.Contains('@')) && //valid format mods.Count() == Game.CurrentMods.Count() && //same number mods.Select( m => Pair.New(m.Split('@')[0], m.Split('@')[1])).All(kv => Game.CurrentMods.ContainsKey(kv.First) && (kv.Second == "{DEV_VERSION}" || Game.CurrentMods[kv.First].Version == "{DEV_VERSION}" || kv.Second == Game.CurrentMods[kv.First].Version)); + if (!valid) { Log.Write("server", "Rejected connection from {0}; mods do not match.",