diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/protocols/protocols.cpp | 2 | ||||
-rw-r--r-- | src/modules/protocols/protoint.cpp | 6 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/modules/protocols/protocols.cpp b/src/modules/protocols/protocols.cpp index 23cda5cc42..4a61f457fe 100644 --- a/src/modules/protocols/protocols.cpp +++ b/src/modules/protocols/protocols.cpp @@ -486,7 +486,6 @@ INT_PTR CallProtoServiceInt(HANDLE hContact, const char *szModule, const char *s case 29: return (INT_PTR)ppi->SetStatus(wParam);
case 30: return (INT_PTR)ppi->GetAwayMsg(hContact);
case 31: return (INT_PTR)ppi->RecvAwayMsg(hContact, wParam, (PROTORECVEVENT*)lParam);
- case 32: return (INT_PTR)ppi->SendAwayMsg(hContact, (HANDLE)wParam, (const char*)lParam);
case 33:
if (ppi->m_iVersion > 1)
return (INT_PTR)ppi->SetAwayMsg(wParam, StrConvT((char*)lParam));
@@ -678,7 +677,6 @@ int LoadProtocolsModule(void) InsertServiceListItem(29, PS_SETSTATUS);
InsertServiceListItem(30, PSS_GETAWAYMSG);
InsertServiceListItem(31, PSR_AWAYMSG);
- InsertServiceListItem(32, PSS_AWAYMSG);
InsertServiceListItem(33, PS_SETAWAYMSG);
InsertServiceListItem(34, PSS_USERISTYPING);
InsertServiceListItem(35, PS_GETNAME);
diff --git a/src/modules/protocols/protoint.cpp b/src/modules/protocols/protoint.cpp index 83c9d1dac5..abe590f541 100644 --- a/src/modules/protocols/protoint.cpp +++ b/src/modules/protocols/protoint.cpp @@ -252,12 +252,6 @@ struct DEFAULT_PROTO_INTERFACE : public PROTO_INTERFACE return (int)ProtoCallService(m_szModuleName, PSR_AWAYMSG, 0, (LPARAM)&ccs);
}
- int __cdecl SendAwayMsg(HANDLE hContact, HANDLE hProcess, const char* msg)
- {
- CCSDATA ccs = { hContact, PSS_AWAYMSG, (WPARAM)hProcess, (LPARAM)msg };
- return (int)ProtoCallService(m_szModuleName, PSS_AWAYMSG, 0, (LPARAM)&ccs);
- }
-
int __cdecl SetAwayMsg(int iStatus, const TCHAR* msg)
{
return (int)ProtoCallService(m_szModuleName, PS_SETAWAYMSG, iStatus, (LPARAM)StrConvA(msg));
|