Several small improvements + integrate options + first working draft of Cwda
[vchess.git] / client / src / data / challengeCheck.js
index 7665f6f..554dfdf 100644 (file)
@@ -19,5 +19,7 @@ export function checkChallenge(c) {
   }
   else c.fen = "";
 
+  if (!V.IsValidOptions(c.options)) return "Invalid options";
+
   return "";
 }