diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/NewEventNotify/src/main.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/NewEventNotify/src/main.cpp b/plugins/NewEventNotify/src/main.cpp index 8323794ccf..600335ac23 100644 --- a/plugins/NewEventNotify/src/main.cpp +++ b/plugins/NewEventNotify/src/main.cpp @@ -124,7 +124,10 @@ int HookedInit(WPARAM, LPARAM) hHookedNewEvent = HookEvent(ME_DB_EVENT_ADDED, HookedNewEvent);
// Plugin sweeper support
if (ServiceExists("PluginSweeper/Add"))
- CallService("PluginSweeper/Add", (WPARAM)MODULE, (LPARAM)MODULE);
+ CallService("PluginSweeper/Add", (WPARAM)MODULE, (LPARAM)MODULE);
+
+ if (pluginOptions.bMenuitem)
+ MenuitemInit(!pluginOptions.bDisable);
g_IsSrmmWindowAPI = ServiceExists(MS_MSG_GETWINDOWDATA) != 0;
return 0;
@@ -155,9 +158,6 @@ extern "C" __declspec(dllexport) int Load(void) OptionsInit(&pluginOptions);
pluginOptions.hInst = hInst;
- if (pluginOptions.bMenuitem)
- MenuitemInit(!pluginOptions.bDisable);
-
return 0;
}
|