summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-27 16:44:15 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-27 16:44:15 +0300
commit39fd55ba289dac79de681d420a071a74e28c4455 (patch)
treebe121927d808d6928696743cdf444625f1bf6225 /protocols/JabberG/src/jabber_proto.cpp
parentd3fb018c576412538d929828f9e4c28e72b7dc5c (diff)
we better start threads inside OnModulesLoaded, so we don't have to kill them
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_proto.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp
index 5957cfd772..6a125f7ffc 100755
--- a/protocols/JabberG/src/jabber_proto.cpp
+++ b/protocols/JabberG/src/jabber_proto.cpp
@@ -188,7 +188,6 @@ CJabberProto::CJabberProto(const char *aProtoName, const wchar_t *aUserName) :
HookProtoEvent(ME_SKIN2_ICONSCHANGED, &CJabberProto::OnReloadIcons);
m_iqManager.FillPermanentHandlers();
- m_iqManager.Start();
m_messageManager.FillPermanentHandlers();
m_adhocManager.FillDefaultNodes();
@@ -198,7 +197,6 @@ CJabberProto::CJabberProto(const char *aProtoName, const wchar_t *aUserName) :
InitPopups();
GlobalMenuInit();
WsInit();
- ConsoleInit();
m_pepServices.insert(new CPepMood(this));
m_pepServices.insert(new CPepActivity(this));
@@ -273,6 +271,9 @@ int CJabberProto::OnModulesLoadedEx(WPARAM, LPARAM)
XStatusInit();
m_pepServices.InitGui();
+ m_iqManager.Start();
+
+ ConsoleInit();
InitInfoFrame();
GCREGISTER gcr = {};