-bool OidentdConfigGenerator::init() {
- configDir = QDir::homePath();
- configFileName = ".oidentd.conf";
-
- if(Quassel::isOptionSet("oidentd-conffile"))
- configPath = Quassel::optionValue("oidentd-conffile");
- else
- configPath = configDir.absoluteFilePath(configFileName);
-
- configTag = " stanza created by Quassel";
-
- _configFile = new QFile(configPath);
-
- // Rx has to match Template in order for cleanup to work.
- // Template should be enhanced with the "from" parameter as soon as Quassel gains
- // the ability to bind to an IP on client sockets.
+bool OidentdConfigGenerator::init()
+{
+ _configDir = QDir::homePath();
+ _configFileName = ".oidentd.conf";