summaryrefslogtreecommitdiff
path: root/plugins/YARelay
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YARelay')
-rw-r--r--plugins/YARelay/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YARelay/src/main.cpp b/plugins/YARelay/src/main.cpp
index c4506df141..34cf80857a 100644
--- a/plugins/YARelay/src/main.cpp
+++ b/plugins/YARelay/src/main.cpp
@@ -75,7 +75,7 @@ int ProtoAck(WPARAM wparam,LPARAM lparam)
dbei.eventType = EVENTTYPE_MESSAGE;
dbei.cbBlob = (DWORD)strlen(p->msgText) + 1;
dbei.pBlob = (PBYTE)p->msgText;
- CallService(MS_DB_EVENT_ADD, (WPARAM)hForwardTo, (LPARAM)&dbei);
+ db_event_add(hForwardTo, &dbei);
}
mir_free(p->msgText);