diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-20 11:55:15 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-20 11:55:15 +0300 |
commit | 14ff64cfe21f6b856e6d34db48e98fccbd1e5d68 (patch) | |
tree | f4d460863f2aac0b3fa4a2a7e4f68efee6181abc /init.cpp | |
parent | d385efebe356aebb92376fcd9c796a636df4be9a (diff) |
modified: init.cpp
modified: jabber_account.cpp
modified: jabber_account.h
modified: utilities.cpp
Diffstat (limited to 'init.cpp')
-rw-r--r-- | init.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -156,12 +156,14 @@ static int OnModulesLoaded(WPARAM wParam,LPARAM lParam) void FirstRun();
FirstRun();
InitCheck();
-
- GetJabberInterface(0,0);
+
+ if(bJabberAPI)
+ GetJabberInterface(0,0);
HookEvent(ME_OPT_INITIALISE, GpgOptInit);
HookEvent(ME_DB_EVENT_FILTER_ADD, HookSendMsg);
- HookEvent(ME_PROTO_ACCLISTCHANGED, GetJabberInterface);
+ if(bJabberAPI)
+ HookEvent(ME_PROTO_ACCLISTCHANGED, GetJabberInterface);
// HookEvent(ME_NETLIB_FASTSEND, TestHook);
hOnPreBuildContactMenu = HookEvent(ME_CLIST_PREBUILDCONTACTMENU, OnPreBuildContactMenu);
|