X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fprotocols%2Flegacy%2Flegacypeer.cpp;h=0ec819e9b23cbee646fb316bb08bc62e9982513c;hb=2491fb92519912fa2169fb9d7dbc631a03bf5570;hp=606f91d41f2603d9545a23a9ad596b829813be72;hpb=db00831bca59a012242d1ad5fac52a20c6cd2956;p=quassel.git diff --git a/src/common/protocols/legacy/legacypeer.cpp b/src/common/protocols/legacy/legacypeer.cpp index 606f91d4..0ec819e9 100644 --- a/src/common/protocols/legacy/legacypeer.cpp +++ b/src/common/protocols/legacy/legacypeer.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -49,7 +49,7 @@ void LegacyPeer::setSignalProxy(::SignalProxy* proxy) // enable compression now if requested - the initial handshake is uncompressed in the legacy protocol! _useCompression = socket()->property("UseCompression").toBool(); if (_useCompression) - qDebug() << "Using compression for peer:" << qPrintable(socket()->peerAddress().toString()); + qDebug() << "Using compression for peer:" << qPrintable(address()); } } @@ -237,7 +237,7 @@ void LegacyPeer::dispatch(const RegisterClient& msg) // FIXME only in compat mode m["ProtocolVersion"] = protocolVersion; - m["UseSsl"] = msg.sslSupported; + m["UseSsl"] = true; #ifndef QT_NO_COMPRESS m["UseCompression"] = true; #else