summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-02-01 21:23:01 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-02-01 21:23:01 +0300
commitd467d6677409c0a9db4dab1bdcb0d128fec1d6d0 (patch)
treec937be7da2a4676e45c9b1df658afedaae86b3c7 /protocols
parent4042f753d2a154d179dc13a84b8dd7bed8fbd033 (diff)
really fixes #1811
Diffstat (limited to 'protocols')
-rw-r--r--protocols/ICQ-WIM/src/proto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/src/proto.cpp b/protocols/ICQ-WIM/src/proto.cpp
index 8a9675530f..c109bd326f 100644
--- a/protocols/ICQ-WIM/src/proto.cpp
+++ b/protocols/ICQ-WIM/src/proto.cpp
@@ -72,8 +72,6 @@ CIcqProto::CIcqProto(const char* aProtoName, const wchar_t* aUserName) :
m_hNetlibUser = Netlib_RegisterUser(&nlu);
m_hWorkerThread = ForkThreadEx(&CIcqProto::ServerThread, nullptr, nullptr);
-
- InitContactCache();
}
CIcqProto::~CIcqProto()
@@ -86,6 +84,8 @@ CIcqProto::~CIcqProto()
void CIcqProto::OnModulesLoaded()
{
+ InitContactCache();
+
GCREGISTER gcr = {};
gcr.dwFlags = GC_TYPNOTIF | GC_CHANMGR;
gcr.ptszDispName = m_tszUserName;