projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
identd: Simplify responseAvailable via early return
[quassel.git]
/
src
/
core
/
oidentdconfiggenerator.h
diff --git
a/src/core/oidentdconfiggenerator.h
b/src/core/oidentdconfiggenerator.h
index
f4128d6
..
bfd351f
100644
(file)
--- a/
src/core/oidentdconfiggenerator.h
+++ b/
src/core/oidentdconfiggenerator.h
@@
-59,11
+59,7
@@
class OidentdConfigGenerator : public QObject
{
Q_OBJECT
public:
{
Q_OBJECT
public:
- /**
- * @param strict If false, any identity a user chooses is reported to servers as authoritative.
- * If true, the user's quassel username is always reported.
- */
- explicit OidentdConfigGenerator(bool strict = false, QObject *parent = 0);
+ explicit OidentdConfigGenerator(QObject *parent = 0);
~OidentdConfigGenerator();
public slots:
~OidentdConfigGenerator();
public slots:
@@
-71,7
+67,7
@@
public slots:
bool removeSocket(const CoreIdentity *identity, const QHostAddress &localAddress, quint16 localPort, const QHostAddress &peerAddress, quint16 peerPort);
private:
bool removeSocket(const CoreIdentity *identity, const QHostAddress &localAddress, quint16 localPort, const QHostAddress &peerAddress, quint16 peerPort);
private:
-
const QString sysidentForIdentity(const CoreIdentity *identity)
;
+
QString sysIdentForIdentity(const CoreIdentity *identity) const
;
bool init();
bool writeConfig();
bool parseConfig(bool readQuasselStanzas = false);
bool init();
bool writeConfig();
bool parseConfig(bool readQuasselStanzas = false);