Fix error in onCommand

Sending simply "9\r\n" would crash the server before,
not simply ERR