Can i limit the directory to only allow 1 listing per user

Hello is there anywhere i can amend the code so i can just allow the user to only create 1 listing?

Thanks