projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
identd: Remove unneeded strict attribute
[quassel.git]
/
src
/
core
/
core.cpp
diff --git
a/src/core/core.cpp
b/src/core/core.cpp
index
1ff4ada
..
d596344
100644
(file)
--- a/
src/core/core.cpp
+++ b/
src/core/core.cpp
@@
-221,10
+221,10
@@
bool Core::init()
if (Quassel::isOptionSet("oidentd")) {
_oidentdConfigGenerator = new OidentdConfigGenerator(this);
}
if (Quassel::isOptionSet("oidentd")) {
_oidentdConfigGenerator = new OidentdConfigGenerator(this);
}
-
+
if (Quassel::isOptionSet("ident-daemon")) {
if (Quassel::isOptionSet("ident-daemon")) {
- _identServer = new IdentServer(
_strictIdentEnabled,
this);
+ _identServer = new IdentServer(this);
}
Quassel::registerReloadHandler([]() {
}
Quassel::registerReloadHandler([]() {
@@
-670,7
+670,9
@@
bool Core::startListening()
if (!success)
quError() << qPrintable(tr("Could not open any network interfaces to listen on!"));
if (!success)
quError() << qPrintable(tr("Could not open any network interfaces to listen on!"));
- if (_identServer != nullptr) _identServer->startListening();
+ if (_identServer) {
+ _identServer->startListening();
+ }
return success;
}
return success;
}
@@
-678,7
+680,9
@@
bool Core::startListening()
void Core::stopListening(const QString &reason)
{
void Core::stopListening(const QString &reason)
{
- if (_identServer != nullptr) _identServer->stopListening(reason);
+ if (_identServer) {
+ _identServer->stopListening(reason);
+ }
bool wasListening = false;
if (_server.isListening()) {
bool wasListening = false;
if (_server.isListening()) {