summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;