xrogue: compile out wizard mode by default.

This commit is contained in:
John "Elwin" Edwards 2015-05-05 12:07:12 -04:00
parent 9c0cafd74d
commit 85a0b26fa3
3 changed files with 7 additions and 0 deletions

View file

@ -119,6 +119,7 @@ char **envp;
/*
* Check to see if he is a wizard
*/
#ifdef WIZARD
if (argc >= 2 && argv[1][0] == '\0')
if (strcmp(PASSWD, xcrypt(md_getpass("Wizard's password: "), "mT")) == 0)
{
@ -126,6 +127,7 @@ char **envp;
argv++;
argc--;
}
#endif
if (betaover())
{