summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/gg_proto.cpp
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-01-18 19:56:09 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-01-19 01:39:33 +0100
commitc0569ec17ede7bf5dcdb5102810ad2d6153b603c (patch)
tree3ef33f0b3a0c6af5e7f4cbfddb5e83fb1bf2afbf /protocols/Gadu-Gadu/src/gg_proto.cpp
parentfb40ed2b6385b9e3a85b35ba27f3a42207d22234 (diff)
Gadu-Gadu:
* force SSL and manual hosts * force keeping connection allive * send ping only once per minute * overwirte old servers list * version bump
Diffstat (limited to 'protocols/Gadu-Gadu/src/gg_proto.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/gg_proto.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Gadu-Gadu/src/gg_proto.cpp b/protocols/Gadu-Gadu/src/gg_proto.cpp
index 17b2dfd80d..74bfcbd60a 100644
--- a/protocols/Gadu-Gadu/src/gg_proto.cpp
+++ b/protocols/Gadu-Gadu/src/gg_proto.cpp
@@ -70,9 +70,9 @@ GGPROTO::GGPROTO(const char *pszProtoName, const wchar_t *tszUserName) :
mir_snwprintf(szPath, L"%s\\%s\\ImageCache", (wchar_t*)VARSW(L"%miranda_userdata%"), m_tszUserName);
hImagesFolder = FoldersRegisterCustomPathT(LPGEN("Images"), m_szModuleName, szPath, m_tszUserName);
- DWORD dwVersion;
- if ((dwVersion = getDword(GG_PLUGINVERSION, 0)) < pluginInfo.version)
- cleanuplastplugin(dwVersion);
+ DWORD pluginVersion = getDword(GG_PLUGINVERSION, 0);
+ if (pluginVersion < pluginInfo.version)
+ cleanuplastplugin(pluginVersion);
links_instance_init();
initavatarrequestthread();