-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";