Fixed the /nick command bug on cliet side.
removed the bug in messagevalidation that corrupted the message.to property.