diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-20 00:11:36 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-20 00:11:36 +0300 |
commit | 92b173c3a8553b59077aa2757c9627cb4c73d29e (patch) | |
tree | 99b7ebeff5c84ff27f1908eea79992e60618840f /include | |
parent | 92e81067e7e81cefcea58f7e91f6d2d8c959fd0d (diff) |
Chat_NewSession to return a pointer to a newly created session, not to dig it anymore
Diffstat (limited to 'include')
-rw-r--r-- | include/m_chat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/m_chat.h b/include/m_chat.h index 12917f70ac..7f1adaac8d 100644 --- a/include/m_chat.h +++ b/include/m_chat.h @@ -173,7 +173,7 @@ EXTERN_C MIR_APP_DLL(int) Chat_Register(const GCREGISTER*); #define GCW_PRIVMESS 3 // NOT SUPPORTED YET! the session is a 1 to 1 session, but with additional
// support for adding more users etc. ex "MSN session".
-EXTERN_C MIR_APP_DLL(int) Chat_NewSession(
+EXTERN_C MIR_APP_DLL(struct GCSessionInfoBase*) Chat_NewSession(
int iType, // Use one of the GCW_* flags above to set the type of session
const char *pszModule, // The name of the protocol owning the session (the same as pszModule when you register)
const wchar_t *ptszID, // The unique identifier for the session.
|