diff --git a/toxcore/tox.c b/toxcore/tox.c index 775fa4cb..6a2d3874 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c @@ -786,7 +786,7 @@ int tox_bootstrap_from_address(Tox *tox, const char *address, uint16_t port, con int tox_isconnected(const Tox *tox) { const Messenger *m = tox; - return DHT_isconnected(m->dht) || onion_isconnected(m->onion_c); + return onion_isconnected(m->onion_c); } /* Return the time in milliseconds before tox_do() should be called again