As Henno Brandsma's answer shows, this property is not equivalent to Hausdorffness. Another example (of my own construction, though I highly doubt it is original) is as follows:
Let $X = ( \mathbb{N} \times \mathbb{Z} ) \cup \{ -\infty , +\infty \}$. For notational convenience, by $\mathbb{Z}^{>0}$ I will denote the positive integers, and by $\mathbb{Z}^{<0}$ I will denote the negative integers.
We topologise $X$ as follows:
- each $\langle i,n \rangle$ with $n \neq 0$ is isolated.
- the basic open neighbourhoods of $\langle i,0 \rangle$ are of the form $\{ \langle i,0 \rangle \} \cup \{ \langle i,n \rangle : |n| \geq k \}$ for $k > 0$.
- the basic open neighbourhoods of $-\infty$ are of the form $\{ -\infty \} \cup A$ where $A \subseteq \mathbb{N} \times \mathbb{Z}^{<0}$ is such that $\{ i \in \mathbb{N} : \{ n \in \mathbb{Z}^{<0} : \langle i,n \rangle \notin A\text{ is infinite} \} \}$ is finite.
- the basic open neighbourhoods of $+\infty$ are of the form $\{ -\infty \} \cup A$ where $A \subseteq \mathbb{N} \times \mathbb{Z}^{>0}$ is such that $\{ i \in \mathbb{N} : \{ n \in \mathbb{Z}^{>0} : \langle i,n \rangle \notin A\text{ is infinite} \} \}$ is finite.
(The basic idea is that the subspaces $( \mathbb{N} \times \mathbb{Z}^{<0} ) \cup \{ - \infty \}$ and $( \mathbb{N} \times \mathbb{Z}^{>0} ) \cup \{ +\infty \}$ are copies of the Arens-Fort space, and each $\langle i,0\rangle$ is a limit point of the sections $\{ i \} \times \mathbb{Z}^{<0}$ and $\{ i \} \times \mathbb{Z}^{>0}$.)
It is fairly easy to show that $X$ is Hausdorff.
However, if $U$ and $V$ are (basic) open neighbourhoods of $-\infty$, $+\infty$, respectively, then there must be an $i \in \mathbb{N}$ such that $\{ n \in \mathbb{Z}^{<0} : \langle i,n \rangle \in U \}$ and $\{ n \in \mathbb{Z}^{>0} : \langle i,n \rangle \in V \}$ are both infinite, and so $\langle i,0 \rangle \in \overline{U} \cap \overline{V}$.