(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:
parent
13cd9081da
commit
df3786ac40
1 changed files with 0 additions and 3 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue