I seem to have forgotten to mention sCommandArg is a pointer.
quote:
u need to rectify the variable
How?
quote:
Probably because Patchou rejects commands with no param if it's supposed to have one.
I have tested this, and I found that when no argument is supplied, *sCommandArg is the NULL character.