init irc and restart on crash is false by default

This commit is contained in:
fourtf 2019-10-03 17:36:44 +02:00
parent 375aa221eb
commit 7fa2c7b4a5
2 changed files with 5 additions and 2 deletions

View file

@ -80,7 +80,10 @@ void Application::initialize(Settings &settings, Paths &paths)
assert(isAppInitialized == false); assert(isAppInitialized == false);
isAppInitialized = true; isAppInitialized = true;
//Irc::getInstance().load(); if (getSettings()->enableExperimentalIrc)
{
Irc::getInstance().load();
}
for (auto &singleton : this->singletons_) for (auto &singleton : this->singletons_)
{ {

View file

@ -213,7 +213,7 @@ public:
BoolSetting openLinksIncognito = {"/misc/openLinksIncognito", 0}; BoolSetting openLinksIncognito = {"/misc/openLinksIncognito", 0};
QStringSetting cachePath = {"/cache/path", ""}; QStringSetting cachePath = {"/cache/path", ""};
BoolSetting restartOnCrash = {"/misc/restartOnCrash", true}; BoolSetting restartOnCrash = {"/misc/restartOnCrash", false};
/// Debug /// Debug
BoolSetting showUnhandledIrcMessages = {"/debug/showUnhandledIrcMessages", BoolSetting showUnhandledIrcMessages = {"/debug/showUnhandledIrcMessages",