X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcorenetwork.cpp;h=53960b66c77c3472ff205ef27d5a13e88517fc2f;hp=0ebcd19a0b850c61a8646ec10c3a5b897b0307a0;hb=e5eced005fac590ca191de83388d38ee403033ec;hpb=5227b50665053aaf6777837ed1a4390129f4b98e diff --git a/src/core/corenetwork.cpp b/src/core/corenetwork.cpp index 0ebcd19a..53960b66 100644 --- a/src/core/corenetwork.cpp +++ b/src/core/corenetwork.cpp @@ -218,8 +218,9 @@ void CoreNetwork::connectToIrc(bool reconnecting) // Qt caches DNS entries for a minute, resulting in round-robin (e.g. for chat.freenode.net) not working if several users // connect at a similar time. QHostInfo::fromName(), however, always performs a fresh lookup, overwriting the cache entry. - QHostInfo::fromName(server.host); - + if (! server.useProxy) { + QHostInfo::fromName(server.host); + } #ifdef HAVE_SSL if (server.useSsl) { CoreIdentity *identity = identityPtr();