From e412759d7e551e3fc4dc4be6e1fae1cd4f308868 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 3 Jul 2012 21:47:03 +0000 Subject: no more PLUGININFOEX::replacesDefaultModule, that old & nasty clutch since now all Myranda plugins are binary incompatible with Miranda's git-svn-id: http://svn.miranda-ng.org/main/trunk@743 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/UserInfoEx/init.cpp | 1 - plugins/UserInfoEx/svc_email.cpp | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'plugins/UserInfoEx') diff --git a/plugins/UserInfoEx/init.cpp b/plugins/UserInfoEx/init.cpp index b7a757be19..95153823c1 100644 --- a/plugins/UserInfoEx/init.cpp +++ b/plugins/UserInfoEx/init.cpp @@ -62,7 +62,6 @@ static PLUGININFOEX pluginInfo = { __COPYRIGHT, __AUTHORWEB, UNICODE_AWARE, - DEFMOD_UIUSERINFO, MIID_UIUSERINFOEX }; diff --git a/plugins/UserInfoEx/svc_email.cpp b/plugins/UserInfoEx/svc_email.cpp index d1a8ba02d6..3e11ddb763 100644 --- a/plugins/UserInfoEx/svc_email.cpp +++ b/plugins/UserInfoEx/svc_email.cpp @@ -386,12 +386,7 @@ VOID SvcEMailOnModulesLoaded() **/ VOID SvcEMailLoadModule() { - if (DB::Setting::GetByte(SET_EXTENDED_EMAILSERVICE, TRUE)) - { - // prevent default email module from loading - PINT_PTR disableDefaultModule = (PINT_PTR)CallService(MS_PLUGINS_GETDISABLEDEFAULTARRAY, 0, 0); - disableDefaultModule[DEFMOD_SREMAIL] = TRUE; - + if (DB::Setting::GetByte(SET_EXTENDED_EMAILSERVICE, TRUE)) { // create own email send command if (!myDestroyServiceFunction(MS_EMAIL_SENDEMAIL)) myCreateServiceFunction(MS_EMAIL_SENDEMAIL, MenuCommand); -- cgit v1.2.3