}
void Core::init() {
- _oidentdConfigGenerator = new OidentdConfigGenerator();
-
CoreSettings cs;
_configured = initStorage(cs.storageSettings().toMap());
connect(&_server, SIGNAL(newConnection()), this, SLOT(incomingConnection()));
connect(&_v6server, SIGNAL(newConnection()), this, SLOT(incomingConnection()));
if(!startListening()) exit(1); // TODO make this less brutal
+
+ if(Quassel::isOptionSet("oidentd"))
+ _oidentdConfigGenerator = new OidentdConfigGenerator(this);
}
Core::~Core() {