summaryrefslogtreecommitdiff
path: root/plugins/YARelay/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YARelay/src/main.cpp')
-rw-r--r--plugins/YARelay/src/main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/YARelay/src/main.cpp b/plugins/YARelay/src/main.cpp
index eac2d93b3f..668b5adf65 100644
--- a/plugins/YARelay/src/main.cpp
+++ b/plugins/YARelay/src/main.cpp
@@ -87,11 +87,8 @@ int ProtoAck(WPARAM wparam,LPARAM lparam)
/**
* New event was added into DB.
*/
-static int MessageEventAdded(WPARAM wParam, LPARAM lParam)
+static int MessageEventAdded(WPARAM hContact, LPARAM hDBEvent)
{
- MCONTACT hContact = wParam;
- HANDLE hDBEvent = (HANDLE)lParam;
-
// is the message sender accepted for forwarding
if (hForwardFrom != 0 && hForwardFrom != hContact)
return 0;