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 ac57f304e8..6cacf14429 100644
--- a/plugins/YARelay/src/main.cpp
+++ b/plugins/YARelay/src/main.cpp
@@ -89,7 +89,7 @@ int ProtoAck(WPARAM wparam,LPARAM lparam)
*/
static int MessageEventAdded(WPARAM wParam, LPARAM lParam)
{
- MCONTACT hContact = (MCONTACT)wParam;
+ MCONTACT hContact = wParam;
HANDLE hDBEvent = (HANDLE)lParam;
// is the message sender accepted for forwarding