summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-26 13:33:23 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-26 13:33:23 +0000
commit6c5515adb3b6e615c87b049398382ba3d044e9a9 (patch)
tree674bf314cced3de34a998346759b86ec473d0156
parente3b515c53f4e3d77dd09c43009f3b0725f0949eb (diff)
return of wrongly deleted fast hooks
git-svn-id: http://svn.miranda-ng.org/main/trunk@5138 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--src/modules/netlib/netlibsock.cpp4
-rw-r--r--src/modules/plugins/newplugins.cpp2
-rw-r--r--src/modules/plugins/pluginopts.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/netlib/netlibsock.cpp b/src/modules/netlib/netlibsock.cpp
index 03138ef389..abd947bfc9 100644
--- a/src/modules/netlib/netlibsock.cpp
+++ b/src/modules/netlib/netlibsock.cpp
@@ -60,7 +60,7 @@ INT_PTR NetlibSend(WPARAM wParam, LPARAM lParam)
NetlibLeaveNestedCS(&nlc->ncsSend);
NETLIBNOTIFY nln = { nlb, result };
- NotifyEventHooks(hSendEvent, (WPARAM)&nln, (LPARAM)&nlc->nlu->user);
+ NotifyFastHook(hSendEvent, (WPARAM)&nln, (LPARAM)&nlc->nlu->user);
return result;
}
@@ -96,7 +96,7 @@ INT_PTR NetlibRecv(WPARAM wParam, LPARAM lParam)
if ((nlb->flags & MSG_PEEK) == 0) {
NETLIBNOTIFY nln = { nlb, recvResult };
- NotifyEventHooks(hRecvEvent, (WPARAM)&nln, (LPARAM)&nlc->nlu->user);
+ NotifyFastHook(hRecvEvent, (WPARAM)&nln, (LPARAM)&nlc->nlu->user);
}
return recvResult;
}
diff --git a/src/modules/plugins/newplugins.cpp b/src/modules/plugins/newplugins.cpp
index dfe9602246..a2c01627f8 100644
--- a/src/modules/plugins/newplugins.cpp
+++ b/src/modules/plugins/newplugins.cpp
@@ -370,7 +370,7 @@ int Plugin_UnloadDyn(pluginEntry *p)
KillModuleSrmmIcons(hLangpack);
}
- NotifyEventHooks(hevUnloadModule, (WPARAM)p->bpi.pluginInfo, (LPARAM)p->bpi.hInst);
+ NotifyFastHook(hevUnloadModule, (WPARAM)p->bpi.pluginInfo, (LPARAM)p->bpi.hInst);
Plugin_Uninit(p);
diff --git a/src/modules/plugins/pluginopts.cpp b/src/modules/plugins/pluginopts.cpp
index ab884410d6..b117c85f00 100644
--- a/src/modules/plugins/pluginopts.cpp
+++ b/src/modules/plugins/pluginopts.cpp
@@ -183,7 +183,7 @@ LBL_Error:
goto LBL_Error;
dat->hInst = pPlug->bpi.hInst;
- NotifyEventHooks(hevLoadModule, (WPARAM)pPlug->bpi.pluginInfo, (LPARAM)pPlug->bpi.hInst);
+ NotifyFastHook(hevLoadModule, (WPARAM)pPlug->bpi.pluginInfo, (LPARAM)pPlug->bpi.hInst);
return true;
}