diff options
Diffstat (limited to 'protocols/Gadu-Gadu/src/gg.cpp')
-rw-r--r-- | protocols/Gadu-Gadu/src/gg.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/Gadu-Gadu/src/gg.cpp b/protocols/Gadu-Gadu/src/gg.cpp index 52dfd08679..958d7a5bac 100644 --- a/protocols/Gadu-Gadu/src/gg.cpp +++ b/protocols/Gadu-Gadu/src/gg.cpp @@ -191,6 +191,14 @@ void GGPROTO::cleanuplastplugin(DWORD version) FindClose(hFind);
}
}
+
+ //2. force SSL and keepalive; overwrite old server list;
+ if (version < PLUGIN_MAKE_VERSION(0, 11, 0, 4)) {
+ setString(GG_KEY_SERVERHOSTS, GG_KEYDEF_SERVERHOSTS);
+ setByte(GG_KEY_MANUALHOST, 1);
+ setByte(GG_KEY_SSLCONN, 1);
+ setByte(GG_KEY_KEEPALIVE, 1);
+ }
}
//////////////////////////////////////////////////////////
|