From e12c76e424da055932aea8f939362814ab937b1d Mon Sep 17 00:00:00 2001 From: pztrn Date: Wed, 12 Oct 2016 23:26:43 +0500 Subject: [PATCH] Saving passwords for favorited private servers. --- cache/cache_servers.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cache/cache_servers.go b/cache/cache_servers.go index d0d301c..954bbb8 100644 --- a/cache/cache_servers.go +++ b/cache/cache_servers.go @@ -65,6 +65,7 @@ func (c *Cache) FlushServers(data map[string]string) { new_servers[mapping_item_name].IsPrivate = s.Server.IsPrivate new_servers[mapping_item_name].Favorite = s.Server.Favorite new_servers[mapping_item_name].ProfileToUse = s.Server.ProfileToUse + new_servers[mapping_item_name].Password = s.Server.Password } else { cached_servers[mapping_item_name].Ip = s.Server.Ip cached_servers[mapping_item_name].Port = s.Server.Port @@ -80,6 +81,7 @@ func (c *Cache) FlushServers(data map[string]string) { cached_servers[mapping_item_name].IsPrivate = s.Server.IsPrivate cached_servers[mapping_item_name].Favorite = s.Server.Favorite cached_servers[mapping_item_name].ProfileToUse = s.Server.ProfileToUse + cached_servers[mapping_item_name].Password = s.Server.Password } }