diff options
Diffstat (limited to 'protocols/AimOscar/src')
-rw-r--r-- | protocols/AimOscar/src/chat.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/protocols/AimOscar/src/chat.cpp b/protocols/AimOscar/src/chat.cpp index be48243644..bd7a371619 100644 --- a/protocols/AimOscar/src/chat.cpp +++ b/protocols/AimOscar/src/chat.cpp @@ -37,13 +37,7 @@ void CAimProto::chat_register(void) void CAimProto::chat_start(const char *id, unsigned short exchange)
{
wchar_t *idt = mir_a2u(id);
-
- GCSESSION gcw = {};
- gcw.iType = GCW_CHATROOM;
- gcw.pszModule = m_szModuleName;
- gcw.ptszName = idt;
- gcw.ptszID = idt;
- Chat_NewSession(&gcw);
+ Chat_NewSession(GCW_CHATROOM, m_szModuleName, idt, idt);
Chat_AddGroup(m_szModuleName, idt, TranslateT("Me"));
Chat_AddGroup(m_szModuleName, idt, TranslateT("Others"));
|