More generally, the following argument shows that any $T_1$ topological group $G$ is automatically Hausdorff (in fact, a slightly longer argument shows that actually you only have to assume $T_0$). Here "topological group" means that the multiplication map $G\times G\to G$ and the inverse map $G\to G$ are continuous. Given this, consider the map $f:G\times G\to G$ given by $f(g,h)=gh^{-1}$. This map is continuous because the multiplication and inverse maps are. Since $G$ is $T_1$, $\{1\}$ is closed in $G$, and hence $f^{-1}(\{1\})$ is closed in $G\times G$. But $f^{-1}(\{1\})=\{(g,g):g\in G\}$ is the diagonal in $G\times G$, and a space $G$ is Hausdorff iff its diagonal is closed in $G\times G$ (if you are not familiar with this fact, it is a good and simple exercise to prove it).