diff options
Diffstat (limited to 'init.cpp')
-rw-r--r-- | init.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -23,11 +23,10 @@ PLUGINLINK *pluginLink; static int OnModulesLoaded(WPARAM wParam,LPARAM lParam); extern char *date(); list <JabberAccount*> Accounts; -XML_API xi; -NETLIBUSER nu; - -struct MM_INTERFACE mmi; -struct UTF8_INTERFACE utfi; +XML_API xi = {0}; +NETLIBUSER nu = {0}; +MM_INTERFACE mmi = {0}; +UTF8_INTERFACE utfi = {0}; @@ -94,6 +93,7 @@ extern int GetJabberInterface(WPARAM, LPARAM); extern int HandleDbNewContact(WPARAM w, LPARAM l); extern int HandleDbContactDeleted(WPARAM w, LPARAM l); extern void FindJuickAccounts(); +extern int CreateButtons(); static int OnModulesLoaded(WPARAM wParam,LPARAM lParam) { GetJabberInterface(0,0); @@ -102,6 +102,7 @@ static int OnModulesLoaded(WPARAM wParam,LPARAM lParam) hDbContactAdded = HookEvent(ME_DB_CONTACT_ADDED, HandleDbNewContact); hDbContactAdded = HookEvent(ME_DB_CONTACT_DELETED, HandleDbContactDeleted); FindJuickAccounts(); + CreateButtons(); return 0; } |