summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod/src/Client.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-05-31 16:50:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-05-31 16:50:53 +0000
commitd57b6799dac75f3c428393666d079fe59361c4b5 (patch)
tree4bcb3de1b241e89c4dca03bd8b031bc17dbe9b56 /plugins/NewAwaySysMod/src/Client.cpp
parent85e27141c915d057deeb4be6c4bc81d387c39be6 (diff)
fixes for PS_SETAWAYMSG calls
git-svn-id: http://svn.miranda-ng.org/main/trunk@13939 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewAwaySysMod/src/Client.cpp')
-rw-r--r--plugins/NewAwaySysMod/src/Client.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/NewAwaySysMod/src/Client.cpp b/plugins/NewAwaySysMod/src/Client.cpp
index 74244b3d60..22ff666fe5 100644
--- a/plugins/NewAwaySysMod/src/Client.cpp
+++ b/plugins/NewAwaySysMod/src/Client.cpp
@@ -47,7 +47,7 @@ void __cdecl UpdateMsgsThreadProc(void *)
TCString CurMsg(GetDynamicStatMsg(INVALID_CONTACT_ID, p->szModuleName));
if ((TCString)g_ProtoStates[p->szModuleName].CurStatusMsg != (const TCHAR*)CurMsg) { // if the message has changed
g_ProtoStates[p->szModuleName].CurStatusMsg = CurMsg;
- CallAllowedPS_SETAWAYMSG(p->szModuleName, Status, (char*)_T2A(CurMsg));
+ CallAllowedPS_SETAWAYMSG(p->szModuleName, Status, CurMsg);
}
}
}
@@ -86,7 +86,7 @@ void ChangeProtoMessages(char* szProto, int iMode, TCString &Msg)
if (Msg == NULL)
CurMsg = GetDynamicStatMsg(INVALID_CONTACT_ID, szProto);
- CallAllowedPS_SETAWAYMSG(szProto, iMode, (char*)_T2A(CurMsg));
+ CallAllowedPS_SETAWAYMSG(szProto, iMode, CurMsg);
g_ProtoStates[szProto].CurStatusMsg = CurMsg;
}
else { // change message of all protocols
@@ -99,7 +99,7 @@ void ChangeProtoMessages(char* szProto, int iMode, TCString &Msg)
if (Msg == NULL)
CurMsg = GetDynamicStatMsg(INVALID_CONTACT_ID, p->szModuleName);
- CallAllowedPS_SETAWAYMSG(p->szModuleName, iMode, (char*)_T2A(CurMsg));
+ CallAllowedPS_SETAWAYMSG(p->szModuleName, iMode, CurMsg);
g_ProtoStates[p->szModuleName].CurStatusMsg = CurMsg;
}
}