summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/miranda.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/miranda.cpp b/src/core/miranda.cpp
index 4ee236537f..be4a7691f5 100644
--- a/src/core/miranda.cpp
+++ b/src/core/miranda.cpp
@@ -86,6 +86,7 @@ static int waitObjectCount = 0;
HANDLE hMirandaShutdown;
HINSTANCE hInst;
int hLangpack = 0;
+bool bModulesLoadedFired = false;
/////////////////////////////////////////////////////////////////////////////////////////
// exception handling
@@ -298,6 +299,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR, int)
goto exit;
}
NotifyEventHooks(hModulesLoadedEvent, 0, 0);
+ bModulesLoadedFired = true;
// ensure that the kernel hooks the SystemShutdownProc() after all plugins
HookEvent(ME_SYSTEM_SHUTDOWN, SystemShutdownProc);