diff options
author | George Hazan <george.hazan@gmail.com> | 2023-09-15 14:52:01 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-09-15 14:52:01 +0300 |
commit | cb1787afbb67184321f206f13f836b63cd06740a (patch) | |
tree | 0e9f9701642fd1cc9bfb63dfba9eb72dad72d383 /protocols/Discord | |
parent | a232c39b9e45a77e14326511112b70d3dc405105 (diff) |
PROTO_INTERFACE::SendMsg - unused parameter flags removed
Diffstat (limited to 'protocols/Discord')
-rw-r--r-- | protocols/Discord/src/proto.cpp | 2 | ||||
-rw-r--r-- | protocols/Discord/src/proto.h | 2 |
2 files changed, 2 insertions, 2 deletions
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;
|