make the paramter param in @dev[param] lower case for

commands alter, altermod
This commit is contained in:
Holger Vogt 2018-10-12 20:32:28 +02:00
parent 7bb9b866f6
commit 0675da008b
1 changed files with 4 additions and 0 deletions

View File

@ -1241,6 +1241,10 @@ com_alter_common(wordlist *wl, int do_model)
return;
}
/* in case the altermod command comes from commandline or
over shared library we have to provide lowercase */
strtolower(param);
words = eqword->wl_next;
/* skip next line if words is a vector */
if (!eq(words->wl_word, "["))