From d467d6677409c0a9db4dab1bdcb0d128fec1d6d0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 1 Feb 2019 21:23:01 +0300 Subject: really fixes #1811 --- protocols/ICQ-WIM/src/proto.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/ICQ-WIM/src') 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; -- cgit v1.2.3