summaryrefslogtreecommitdiff
path: root/plugins/StartupSilence/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StartupSilence/src/main.cpp')
-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()