diff -r dd904dd9c587 -r 81c154fd4380 gameServer/Utils.hs --- a/gameServer/Utils.hs Mon Mar 05 16:16:32 2018 +0100 +++ b/gameServer/Utils.hs Mon Mar 05 19:05:10 2018 +0100 @@ -72,6 +72,7 @@ else t : replaceTeam tm ts +-- NOTE: Don't forget to update the error messages when you change the naming rules! illegalName :: B.ByteString -> Bool illegalName b = B.null b || length s > 40 || all isSpace s || isSpace (head s) || isSpace (last s) || any isIllegalChar s where