summaryrefslogtreecommitdiff
path: root/protocols/JabberG/jabber.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/jabber.cpp')
-rw-r--r--protocols/JabberG/jabber.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/JabberG/jabber.cpp b/protocols/JabberG/jabber.cpp
index 9c687789b3..99b3ce796b 100644
--- a/protocols/JabberG/jabber.cpp
+++ b/protocols/JabberG/jabber.cpp
@@ -151,6 +151,8 @@ static INT_PTR g_SvcParseXmppUri(WPARAM w, LPARAM l)
static int OnModulesLoaded( WPARAM, LPARAM )
{
+ hModulesLoadedTB = HookEvent(ME_TTB_MODULELOADED, g_OnToolbarInit);
+
bSecureIM = (ServiceExists("SecureIM/IsContactSecured"));
// file associations manager plugin support
@@ -258,7 +260,6 @@ extern "C" int __declspec( dllexport ) Load()
g_IconsInit();
g_MenuInit();
hModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
- hModulesLoadedTB = HookEvent(ME_TTB_MODULELOADED, g_OnToolbarInit);
JabberUserInfoInit();
return 0;