void CoreConnection::disconnectFromCore(const QString &errorString, bool wantReconnect)
{
- if (!wantReconnect)
+ if (wantReconnect)
+ _reconnectTimer.start();
+ else
_reconnectTimer.stop();
_wantReconnect = wantReconnect; // store if disconnect was requested
clientInit["ClientVersion"] = Quassel::buildInfo().fancyVersionString;
clientInit["ClientDate"] = Quassel::buildInfo().buildDate;
clientInit["ProtocolVersion"] = Quassel::buildInfo().protocolVersion;
+#ifdef HAVE_SSL
clientInit["UseSsl"] = _account.useSsl();
+#else
+ clientInit["UseSsl"] = false;
+#endif
#ifndef QT_NO_COMPRESS
clientInit["UseCompression"] = true;
#else