Feeding in the night is a problem only if you think it's a problem. If you are ok with it, then it's not a problem.
I agree with this! It's your bub and you getting up in the night. I can't see why he lectured you like that unless you asked for advice on how to stop it!