/***************************************************************************
- * Copyright (C) 2005-2018 by the Quassel Project *
+ * Copyright (C) 2005-2022 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
#include <QHostAddress>
#include <QMetaMethod>
#include <QMetaProperty>
+#include <QSslSocket>
#include <QThread>
-#ifdef HAVE_SSL
-# include <QSslSocket>
-#endif
-
#include "peer.h"
#include "protocol.h"
#include "signalproxy.h"
void SignalProxy::removeAllPeers()
{
Q_ASSERT(proxyMode() == Server || peerCount() <= 1);
- // wee need to copy that list since we modify it in the loop
+ // we need to copy that list since we modify it in the loop
QList<Peer*> peers = _peerMap.values();
for (auto peer : peers) {
removePeer(peer);
QVariantMap data;
data["id"] = peer->id();
data["clientVersion"] = peer->clientVersion();
- // We explicitly rename this, as, due to the Debian reproducability changes, buildDate isn’t actually the build
+ // We explicitly rename this, as, due to the Debian reproducibility changes, buildDate isn’t actually the build
// date anymore, but on newer clients the date of the last git commit
data["clientVersionDate"] = peer->buildDate();
data["remoteAddress"] = peer->address();