summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/sendqueue.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/TabSRMM/src/sendqueue.cpp
parentc46f4344f007d814131d25fa5aec6fdb4c7a049d (diff)
SRMM events are now created inside the core to avoid problems with dynamic plugin unload
Diffstat (limited to 'plugins/TabSRMM/src/sendqueue.cpp')
-rw-r--r--plugins/TabSRMM/src/sendqueue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/sendqueue.cpp b/plugins/TabSRMM/src/sendqueue.cpp
index 8c7557a11f..787e815da8 100644
--- a/plugins/TabSRMM/src/sendqueue.cpp
+++ b/plugins/TabSRMM/src/sendqueue.cpp
@@ -500,7 +500,7 @@ int SendQueue::ackMessage(CTabBaseDlg *dat, WPARAM wParam, LPARAM lParam)
dbei.pBlob = (PBYTE)job.szSendBuffer;
MessageWindowEvent evt = { job.iSendId, job.hContact, &dbei };
- NotifyEventHooks(PluginConfig.m_event_WriteEvent, 0, (LPARAM)&evt);
+ NotifyEventHooks(pci->hevPreCreate, 0, (LPARAM)&evt);
job.szSendBuffer = (char*)dbei.pBlob;
MEVENT hNewEvent = db_event_add(job.hContact, &dbei);