Let $X,Y$ be topological spaces, and $f:X\to Y$. We say that $f(x)\to l$ as $x \to b$ iff for every open neighborhood $N$ of $l$, there exists an open neighborhood $M$ of $b$ such that $f(M)\subset N$.
There is, however, a different weaker notion of limit: for any sequence $x_n$, whenever $x_n\to b$ as $n\to \infty$, then $f(x_n)\to l$ as $n\to \infty$.
I can prove that the first definition implies the second. In $\mathbb R$, the converse is also true. But is the converse also true in general topological spaces? I don't believe it is true but I cannot find counterexamples.