summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/svc_email.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/svc_email.cpp')
-rw-r--r--plugins/UserInfoEx/src/svc_email.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/UserInfoEx/src/svc_email.cpp b/plugins/UserInfoEx/src/svc_email.cpp
index 873328b6fb..63fa25c30b 100644
--- a/plugins/UserInfoEx/src/svc_email.cpp
+++ b/plugins/UserInfoEx/src/svc_email.cpp
@@ -134,7 +134,7 @@ static int OnPreBuildMenu(WPARAM wParam, LPARAM)
void SvcEMailRebuildMenu()
{
- if (g_plugin.getByte(SET_EXTENDED_EMAILSERVICE, TRUE)) {
+ if (g_plugin.bEmailService) {
if (!hPrebuildMenuHook)
hPrebuildMenuHook = HookEvent(ME_CLIST_PREBUILDCONTACTMENU, OnPreBuildMenu);
@@ -166,7 +166,7 @@ void SvcEMailRebuildMenu()
void SvcEMailLoadModule()
{
- if (g_plugin.getByte(SET_EXTENDED_EMAILSERVICE, TRUE)) {
+ if (g_plugin.bEmailService) {
// create own email send command
DestroyServiceFunction(MS_EMAIL_SENDEMAIL);
CreateServiceFunction(MS_EMAIL_SENDEMAIL, MenuCommand);