gameServer/Utils.hs
changeset 13084 81c154fd4380
parent 12839 148c9524f38d
child 13308 e3613c0d3600
--- 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