diff options
author | George Hazan <ghazan@miranda.im> | 2020-07-08 18:39:15 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-07-08 18:39:15 +0300 |
commit | 5b9180012f495e23dfdd9fb7d91cfb1258734fe3 (patch) | |
tree | b80652f253cefb1b807d9aac04ad8e9a4676518e /protocols/Gadu-Gadu/src | |
parent | f365c11384642f6674ff5019ff97eda6f89ba378 (diff) |
group chat initialization to be done in protocol's constructor, not inside OnModulesLoaded
Diffstat (limited to 'protocols/Gadu-Gadu/src')
-rw-r--r-- | protocols/Gadu-Gadu/src/gg_proto.cpp | 2 | ||||
-rw-r--r-- | protocols/Gadu-Gadu/src/groupchat.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Gadu-Gadu/src/gg_proto.cpp b/protocols/Gadu-Gadu/src/gg_proto.cpp index 7f720bac33..5d94dad46c 100644 --- a/protocols/Gadu-Gadu/src/gg_proto.cpp +++ b/protocols/Gadu-Gadu/src/gg_proto.cpp @@ -78,6 +78,7 @@ GaduProto::GaduProto(const char *pszProtoName, const wchar_t *tszUserName) : if (pluginVersion < pluginInfoEx.version)
cleanuplastplugin(pluginVersion);
+ gc_init();
links_instance_init();
initavatarrequestthread();
}
@@ -657,7 +658,6 @@ void GaduProto::OnModulesLoaded() // Init misc stuff
gg_icolib_init();
initpopups();
- gc_init();
keepalive_init();
img_init();
block_init();
diff --git a/protocols/Gadu-Gadu/src/groupchat.cpp b/protocols/Gadu-Gadu/src/groupchat.cpp index 51ce62d926..6eac366e71 100644 --- a/protocols/Gadu-Gadu/src/groupchat.cpp +++ b/protocols/Gadu-Gadu/src/groupchat.cpp @@ -32,7 +32,7 @@ int GaduProto::gc_init() {
char service[64];
- // Register Gadu-Gadu proto
+ // Register Gadu-Gadu groupchats
GCREGISTER gcr = {};
gcr.ptszDispName = m_tszUserName;
gcr.pszModule = m_szModuleName;
|