summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-09-27 18:53:00 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-09-27 18:53:00 +0000
commit1e42138054ddb2e73cb0e478c143771444c1c67e (patch)
tree46f5f481e7aa1142ed95f07e83097537569774dc
parentedd739b510542ffdf81756131c937d93e7688ddf (diff)
StartupSlience: minus one crutch
git-svn-id: http://svn.miranda-ng.org/main/trunk@15461 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/StartupSilence/src/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/StartupSilence/src/main.cpp b/plugins/StartupSilence/src/main.cpp
index db07f1949d..b94af74fd6 100644
--- a/plugins/StartupSilence/src/main.cpp
+++ b/plugins/StartupSilence/src/main.cpp
@@ -152,9 +152,7 @@ int DisablePopup(WPARAM wParam, LPARAM)
void EnablePopupModule()
{
- if (ServiceExists(POPUPONOFF) && db_get_b(NULL,"Popup", "ModuleIsEnabled", 0) == 0) {
- CallService(POPUPONOFF, NULL, NULL);
- }
+ CallService(MS_POPUP_QUERY, PUQS_ENABLEPOPUPS);
}
void InitSettings()