X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcorenetwork.cpp;h=b43bbc29eaa65aaa83c9b785a861573e9b01efc8;hp=9846a2680fe15d7c111882981d850c31f0550e2f;hb=f9a73e3ad8142212028a39b26ced62456e575b7a;hpb=abd7bd3611e560e0ede1b05d617c775614b6c808 diff --git a/src/core/corenetwork.cpp b/src/core/corenetwork.cpp index 9846a268..b43bbc29 100644 --- a/src/core/corenetwork.cpp +++ b/src/core/corenetwork.cpp @@ -78,7 +78,9 @@ CoreNetwork::CoreNetwork(const NetworkId &networkid, CoreSession *session) connect(&socket, SIGNAL(sslErrors(const QList &)), this, SLOT(sslErrors(const QList &))); #endif connect(this, SIGNAL(newEvent(Event *)), coreSession()->eventManager(), SLOT(postEvent(Event *))); - connect(this, SIGNAL(newSocket(const CoreIdentity*,QHostAddress,quint16,QHostAddress,quint16)), Core::instance()->oidentdConfigGenerator(), SLOT(addSocket(const CoreIdentity*,QHostAddress,quint16,QHostAddress,quint16))); + + if(Quassel::isOptionSet("oidentd")) + connect(this, SIGNAL(newSocket(const CoreIdentity*,QHostAddress,quint16,QHostAddress,quint16)), Core::instance()->oidentdConfigGenerator(), SLOT(addSocket(const CoreIdentity*,QHostAddress,quint16,QHostAddress,quint16))); } CoreNetwork::~CoreNetwork() {