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/IRCG/src/ircproto.cpp | 2 +- protocols/IRCG/src/ircproto.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/IRCG/src') diff --git a/protocols/IRCG/src/ircproto.cpp b/protocols/IRCG/src/ircproto.cpp index 0e4af4c31f..c4ecb1e30e 100644 --- a/protocols/IRCG/src/ircproto.cpp +++ b/protocols/IRCG/src/ircproto.cpp @@ -581,7 +581,7 @@ HANDLE CIrcProto::SendFile(MCONTACT hContact, const wchar_t*, wchar_t** ppszFile //////////////////////////////////////////////////////////////////////////////////////// // SendMessage - sends a message -int CIrcProto::SendMsg(MCONTACT hContact, int, const char* pszSrc) +int CIrcProto::SendMsg(MCONTACT hContact, const char* pszSrc) { uint8_t bDcc = getByte(hContact, "DCC", 0); uint16_t wStatus = getWord(hContact, "Status", ID_STATUS_OFFLINE); diff --git a/protocols/IRCG/src/ircproto.h b/protocols/IRCG/src/ircproto.h index 6614bf4df7..6b30cea36d 100644 --- a/protocols/IRCG/src/ircproto.h +++ b/protocols/IRCG/src/ircproto.h @@ -62,7 +62,7 @@ struct CIrcProto : public PROTO HANDLE SearchBasic(const wchar_t* id) override; HANDLE SendFile(MCONTACT hContact, const wchar_t *szDescription, wchar_t **ppszFiles) override; - int SendMsg(MCONTACT hContact, int flags, const char* msg) override; + int SendMsg(MCONTACT hContact, const char* msg) override; int SetStatus(int iNewStatus) override; -- cgit v1.2.3