You are correct! The oxygen atom has a greater electronegativity, thus the non-bonding electron pairs are held more tightly to the nucleus and are less available for sharing.