Proposal: This is an Error [Cleanup]
Passes 6-0. Enacted by Brendan.
Adminned at 07 Oct 2018 18:26:05 UTC
Add to the end of the MCP:
function checkIsNot(variable,value,errorMessage){
if(variable == value){
printLine(errorMessage);
return false;
}
return true;
}
function inputIsValid(){
return
checkIsNot(GNDT,`__GNDT`,"Illegal execution? A GNDT dump must be provided.") &&
checkIsNot(randomSeed,"__RANDOM", "Illegal execution! a random value must be provided!");
}
change:
if (GNDT == “__” + “GNDT”) {
printLine("Illegal execution? A GNDT dump must be provided.");
} else {
to:
if(inputIsValid()){
Kevan: he/him