fixed variable typo in UserCommands::sendInvite