summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/globals.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-04-07 15:32:08 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-04-07 15:32:08 +0300
commit978b44865b77eb0029e6033dcbfc0876954cef2e (patch)
treeccdf74bb1e55640a5dadcd7693928adcf72a17e8 /plugins/Scriver/src/globals.cpp
parentc46f4344f007d814131d25fa5aec6fdb4c7a049d (diff)
SRMM events are now created inside the core to avoid problems with dynamic plugin unload
Diffstat (limited to 'plugins/Scriver/src/globals.cpp')
-rw-r--r--plugins/Scriver/src/globals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/globals.cpp b/plugins/Scriver/src/globals.cpp
index 36cd2601c6..670aabd547 100644
--- a/plugins/Scriver/src/globals.cpp
+++ b/plugins/Scriver/src/globals.cpp
@@ -152,7 +152,7 @@ static int ackevent(WPARAM, LPARAM lParam)
dbei.pBlob = (PBYTE)item->sendBuffer;
MessageWindowEvent evt = { item->hSendId, hContact, &dbei };
- NotifyEventHooks(hHookWinWrite, 0, (LPARAM)&evt);
+ NotifyEventHooks(pci->hevPreCreate, 0, (LPARAM)&evt);
item->sendBuffer = (char *)dbei.pBlob;
db_event_add(hContact, &dbei);