diff options
author | George Hazan <george.hazan@gmail.com> | 2023-12-03 17:14:30 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-12-03 17:14:30 +0300 |
commit | 1338ad89ee45bdb681c531476dca00a377d7d033 (patch) | |
tree | 3eae8ad7620848a1a8b12ced532d826aae81a224 /protocols/IRCG/src | |
parent | 8a0d55713496fe7c8eecc0267d775b1bb29e0842 (diff) |
PROTO_INTERFACE::SendMsg: second parameter became a reply event id
Diffstat (limited to 'protocols/IRCG/src')
-rw-r--r-- | protocols/IRCG/src/ircproto.cpp | 2 | ||||
-rw-r--r-- | protocols/IRCG/src/ircproto.h | 2 |
2 files changed, 2 insertions, 2 deletions
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; |