]> git.stg.codes - stg.git/blobdiff - projects/stargazer/main.cpp
Ticket 26. The if (newSettings.GetLogFileName() != "") construction
[stg.git] / projects / stargazer / main.cpp
index 11f4c723d89ab2a056e7e35b8a60f0ad9f9a0601..93aaefd5fe9f070bc05788409cc9e137c5546cea 100644 (file)
@@ -341,16 +341,9 @@ while (running)
             {
             SETTINGS_IMPL newSettings(settings);
             if (newSettings.ReadSettings())
-                {
-                if (newSettings.GetLogFileName() != "")
-                    WriteServLog.SetLogFileName(newSettings.GetLogFileName());
-
                 WriteServLog("ReadSettings error. %s", newSettings.GetStrError().c_str());
-                }
             else
-                {
                 settings = newSettings;
-                }
             traffCnt.Reload();
             manager.reload(settings);
             }