projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: Fix capability messages for repeat CAP LS
[quassel.git]
/
src
/
core
/
coreauthhandler.h
diff --git
a/src/core/coreauthhandler.h
b/src/core/coreauthhandler.h
index
9a420af
..
db54bec
100644
(file)
--- a/
src/core/coreauthhandler.h
+++ b/
src/core/coreauthhandler.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-20
18
by the Quassel Project *
+ * Copyright (C) 2005-20
20
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-22,7
+22,9
@@
#define COREAUTHHANDLER_H
#include "authhandler.h"
#define COREAUTHHANDLER_H
#include "authhandler.h"
+#include "metricsserver.h"
#include "peerfactory.h"
#include "peerfactory.h"
+#include "proxyline.h"
#include "remotepeer.h"
#include "types.h"
#include "remotepeer.h"
#include "types.h"
@@
-33,6
+35,9
@@
class CoreAuthHandler : public AuthHandler
public:
CoreAuthHandler(QTcpSocket* socket, QObject* parent = nullptr);
public:
CoreAuthHandler(QTcpSocket* socket, QObject* parent = nullptr);
+ QHostAddress hostAddress() const;
+ bool isLocal() const override;
+
signals:
void handshakeComplete(RemotePeer* peer, UserId uid);
signals:
void handshakeComplete(RemotePeer* peer, UserId uid);
@@
-60,7
+65,11
@@
private slots:
private:
RemotePeer* _peer;
private:
RemotePeer* _peer;
+ MetricsServer* _metricsServer;
+ bool _proxyReceived;
+ ProxyLine _proxyLine;
+ bool _useProxyLine;
bool _magicReceived;
bool _legacy;
bool _clientRegistered;
bool _magicReceived;
bool _legacy;
bool _clientRegistered;