fix for new error introduced in GM Command GiveSkill update.

it didnt cause an error on the source it was created in, and didnt show an error on 'fresh' source.
the error was pointed out to me, and then showed up after a "make clean && make -j4 install".

tested and working on clean install.

not sure how the 10 commits shown here got here, but whatever.

~allan