(command): Don't fold conditionals to lower case. This was added

early in Chainsaw 3, most probably to make them case insensitive.
This is of debatable utility, and inconsistent with the case
sensitivity of commands and arguments.  It also interferes with string
conditionals: fleet#A is folded to fleet#a, which means something
else!
This commit is contained in:
Markus Armbruster 2006-05-22 20:04:54 +00:00
parent 13cd9081da
commit df3786ac40

View file

@ -153,9 +153,6 @@ command(void)
scanspace, &redir) < 0) {
pr("See \"info Syntax\"?\n");
} else {
if (player->condarg != NULL)
for (i = 0; i < strlen(player->condarg); i++)
player->condarg[i] = tolower(player->condarg[i]);
if (dispatch(player->combuf, redir) < 0)
pr("Try \"list of commands\" or \"info\"\n");
}