fixed modcmd.c: made all command functions case insensitive