summaryrefslogtreecommitdiff
path: root/plugins/Mir_core/modules.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-29 20:43:00 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-29 20:43:00 +0000
commitd8f1c974528897e63f0a0b3c873e6e30a319f88f (patch)
tree090849852e24cf58c469c763448460b113f8d36d /plugins/Mir_core/modules.cpp
parent67f2d89c164c7adccdee065da1caac319d528b50 (diff)
- hook calls were too optimized;
- correct Thread_SetName prototype git-svn-id: http://svn.miranda-ng.org/main/trunk@688 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Mir_core/modules.cpp')
-rw-r--r--plugins/Mir_core/modules.cpp2
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;