From 1338ad89ee45bdb681c531476dca00a377d7d033 Mon Sep 17 00:00:00 2001 From: George Hazan <george.hazan@gmail.com> Date: Sun, 3 Dec 2023 17:14:30 +0300 Subject: PROTO_INTERFACE::SendMsg: second parameter became a reply event id --- 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 c4ecb1e30e..08ff522165 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, const char* pszSrc) +int CIrcProto::SendMsg(MCONTACT hContact, MEVENT, 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 6b30cea36d..4945ac4277 100644 --- a/protocols/IRCG/src/ircproto.h +++ b/protocols/IRCG/src/ircproto.h @@ -62,7 +62,7 @@ struct CIrcProto : public PROTO<CIrcProto> HANDLE SearchBasic(const wchar_t* id) override; HANDLE SendFile(MCONTACT hContact, const wchar_t *szDescription, wchar_t **ppszFiles) override; - int SendMsg(MCONTACT hContact, const char* msg) override; + int SendMsg(MCONTACT hContact, MEVENT, const char* msg) override; int SetStatus(int iNewStatus) override; -- cgit v1.2.3