summaryrefslogtreecommitdiff
path: root/init.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2010-08-20 11:55:15 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2010-08-20 11:55:15 +0300
commit14ff64cfe21f6b856e6d34db48e98fccbd1e5d68 (patch)
treef4d460863f2aac0b3fa4a2a7e4f68efee6181abc /init.cpp
parentd385efebe356aebb92376fcd9c796a636df4be9a (diff)
modified: init.cpp
modified: jabber_account.cpp modified: jabber_account.h modified: utilities.cpp
Diffstat (limited to 'init.cpp')
-rw-r--r--init.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/init.cpp b/init.cpp
index 93a812e..6d2b2ce 100644
--- a/init.cpp
+++ b/init.cpp
@@ -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);