From cb1787afbb67184321f206f13f836b63cd06740a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 15 Sep 2023 14:52:01 +0300 Subject: PROTO_INTERFACE::SendMsg - unused parameter flags removed --- protocols/Discord/src/proto.cpp | 2 +- protocols/Discord/src/proto.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Discord') diff --git a/protocols/Discord/src/proto.cpp b/protocols/Discord/src/proto.cpp index ed5b6e365b..b9c13939e3 100644 --- a/protocols/Discord/src/proto.cpp +++ b/protocols/Discord/src/proto.cpp @@ -480,7 +480,7 @@ void CDiscordProto::OnSendMsg(NETLIBHTTPREQUEST *pReply, AsyncHttpRequest *pReq) } } -int CDiscordProto::SendMsg(MCONTACT hContact, int, const char *pszSrc) +int CDiscordProto::SendMsg(MCONTACT hContact, const char *pszSrc) { if (!m_bOnline) return -1; diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h index 3ba17654c1..89523eeb37 100644 --- a/protocols/Discord/src/proto.h +++ b/protocols/Discord/src/proto.h @@ -368,7 +368,7 @@ public: HANDLE GetAwayMsg(MCONTACT hContact) override; int SetAwayMsg(int iStatus, const wchar_t *msg) override; - int SendMsg(MCONTACT hContact, int flags, const char *pszSrc) override; + int SendMsg(MCONTACT hContact, const char *pszSrc) override; HANDLE SendFile(MCONTACT hContact, const wchar_t *szDescription, wchar_t **ppszFiles) override; -- cgit v1.2.3