diff options
Diffstat (limited to 'plugins/Mir_core/modules.cpp')
-rw-r--r-- | plugins/Mir_core/modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Mir_core/modules.cpp b/plugins/Mir_core/modules.cpp index bd8636ccb8..121ed1282b 100644 --- a/plugins/Mir_core/modules.cpp +++ b/plugins/Mir_core/modules.cpp @@ -236,7 +236,7 @@ static bool checkHook(HANDLE hHook) {
if (p->secretSignature != HOOK_SECRET_SIGNATURE)
ret = false;
- else if (p->subscriberCount == 0)
+ else if (p->subscriberCount == 0 && p->pfnHook == NULL)
ret = false;
else
ret = true;
|