summaryrefslogtreecommitdiff
path: root/plugins/NewAwaySysMod/src/Services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewAwaySysMod/src/Services.cpp')
-rw-r--r--plugins/NewAwaySysMod/src/Services.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/plugins/NewAwaySysMod/src/Services.cpp b/plugins/NewAwaySysMod/src/Services.cpp
index bce50f84d3..686ad07cac 100644
--- a/plugins/NewAwaySysMod/src/Services.cpp
+++ b/plugins/NewAwaySysMod/src/Services.cpp
@@ -50,19 +50,11 @@ __inline void PSSetStatus(char *szProto, WORD Status, int bNoClistSetStatusMode
// called by GamerStatus and built-in miranda autoaway module
// wParam = (int)status, lParam = 0
// MS_AWAYMSG_GETSTATUSMSG "SRAway/GetStatusMessage"
-INT_PTR GetStatusMsg(WPARAM wParam, LPARAM)
-{
- LogMessage("MS_AWAYMSG_GETSTATUSMSG called. status=%d", wParam);
- char *szMsg = mir_t2a(GetDynamicStatMsg(INVALID_CONTACT_ID, NULL, 0, wParam));
- LogMessage("returned szMsg:\n%s", szMsg ? szMsg : "NULL");
- return (INT_PTR)szMsg;
-}
-
INT_PTR GetStatusMsgW(WPARAM wParam, LPARAM)
{
- LogMessage("MS_AWAYMSG_GETSTATUSMSG called. status=%d", wParam);
+ LogMessage("MS_AWAYMSG_GETSTATUSMSGW called. status=%d", wParam);
WCHAR *szMsg = mir_t2u(GetDynamicStatMsg(INVALID_CONTACT_ID, NULL, 0, wParam));
- LogMessage("returned szMsg:\n%S", szMsg ? szMsg : L"NULL");
+ LogMessage("returned szMsgW:\n%S", szMsg ? szMsg : L"NULL");
return (INT_PTR)szMsg;
}