validate wizard mode if player has requested access to it */
| 625 | |
| 626 | /* validate wizard mode if player has requested access to it */ |
| 627 | boolean |
| 628 | authorize_wizard_mode(void) |
| 629 | { |
| 630 | if (sysopt.wizards && sysopt.wizards[0]) { |
| 631 | if (check_user_string(sysopt.wizards)) |
| 632 | return TRUE; |
| 633 | } |
| 634 | iflags.wiz_error_flag = TRUE; /* not being allowed into wizard mode */ |
| 635 | return FALSE; |
| 636 | } |
| 637 | |
| 638 | /* similar to above, validate explore mode access */ |
| 639 | boolean |
nothing calls this directly
no test coverage detected