Permalink
Browse files

remove unused config value

  • Loading branch information...
abma committed Sep 9, 2018
1 parent 6893a2f commit a819c5df4aa4554a90435a981856dd77d9198606
Showing with 0 additions and 2 deletions.
  1. +0 −1 src/gui/ui.cpp
  2. +0 −1 src/settings.cpp
@@ -62,7 +62,6 @@ SLCONFIG("/General/AutoUpdate", true, "Determines if springlobby should check fo
SLCONFIG("/GUI/StartTab", (long)MainWindow::PAGE_BATTLELIST, "which tab to show on startup");
SLCONFIG("/Chat/BroadcastEverywhere", true, "setting to spam the server messages in all channels");
SLCONFIG("/Server/Autoconnect", false, "Connect to server on startup");
SLCONFIG("/Server/TLS", false, "Use encrypted connection to the lobby server");


static unsigned int s_reconnect_delay_ms = 6 * 1000; //initial reconnect delay
@@ -289,7 +289,6 @@ void Settings::SetServer(const wxString& server_name, const wxString& url, int p
{
cfg().Write(_T( "/Server/Servers/" ) + server_name + _T( "/Host" ), url);
cfg().Write(_T( "/Server/Servers/" ) + server_name + _T( "/Port" ), port);
cfg().Write(_T( "/Server/Servers/" ) + server_name + _T( "/TLS" ), true);
if (!fingerprint.empty()) {
cfg().Write(_T( "/Server/Servers/" ) + server_name + _T( "/Certificate" ), fingerprint);
}

0 comments on commit a819c5d

Please sign in to comment.