From 68d3fd47bb9b75e65859d14199ffee01f16ac9a7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Feb 2014 20:47:51 +0000 Subject: HCONTACT is not needed anymore git-svn-id: http://svn.miranda-ng.org/main/trunk@8086 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/YARelay/src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/YARelay/src/main.cpp') diff --git a/plugins/YARelay/src/main.cpp b/plugins/YARelay/src/main.cpp index 6eee2d60eb..ac57f304e8 100644 --- a/plugins/YARelay/src/main.cpp +++ b/plugins/YARelay/src/main.cpp @@ -25,7 +25,7 @@ CLIST_INTERFACE *pcli; HINSTANCE hInst; int hLangpack; -HCONTACT hForwardFrom, hForwardTo; +MCONTACT hForwardFrom, hForwardTo; TCHAR tszForwardTemplate[MAXTEMPLATESIZE]; int iSplit, iSplitMaxSize, iSendParts, iMarkRead, iSendAndHistory, iForwardOnStatus; @@ -89,7 +89,7 @@ int ProtoAck(WPARAM wparam,LPARAM lparam) */ static int MessageEventAdded(WPARAM wParam, LPARAM lParam) { - HCONTACT hContact = (HCONTACT)wParam; + MCONTACT hContact = (MCONTACT)wParam; HANDLE hDBEvent = (HANDLE)lParam; // is the message sender accepted for forwarding @@ -236,8 +236,8 @@ extern "C" int __declspec(dllexport) Load() mir_getCLI(); // Load plugin options from DB - hForwardFrom = (HCONTACT)db_get_dw(NULL, "yaRelay", "ForwardFrom", 0); - hForwardTo = (HCONTACT)db_get_dw(NULL, "yaRelay", "ForwardTo", 0); + hForwardFrom = (MCONTACT)db_get_dw(NULL, "yaRelay", "ForwardFrom", 0); + hForwardTo = (MCONTACT)db_get_dw(NULL, "yaRelay", "ForwardTo", 0); iForwardOnStatus = db_get_dw(NULL, "yaRelay", "ForwardOnStatus", STATUS_OFFLINE | STATUS_AWAY | STATUS_NA); -- cgit v1.2.3