diff options
Diffstat (limited to 'protocols/IRCG/src/commandmonitor.cpp')
-rw-r--r-- | protocols/IRCG/src/commandmonitor.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/protocols/IRCG/src/commandmonitor.cpp b/protocols/IRCG/src/commandmonitor.cpp index 72788f322b..f47067ee3d 100644 --- a/protocols/IRCG/src/commandmonitor.cpp +++ b/protocols/IRCG/src/commandmonitor.cpp @@ -1266,14 +1266,7 @@ bool CIrcProto::OnIrc_ENDNAMES(const CIrcMessage* pmsg) CMStringW sID = MakeWndID(sChanName);
BYTE btOwnMode = 0;
- GCSESSION gcw = {};
- gcw.iType = GCW_CHATROOM;
- gcw.ptszID = sID;
- gcw.pszModule = m_szModuleName;
- gcw.ptszName = sChanName;
- if (!Chat_NewSession(&gcw)) {
- DBVARIANT dbv;
-
+ if (!Chat_NewSession(GCW_CHATROOM, m_szModuleName, sID, sChanName)) {
PostIrcMessage(L"/MODE %s", sChanName);
// register the statuses
@@ -1359,6 +1352,7 @@ bool CIrcProto::OnIrc_ENDNAMES(const CIrcMessage* pmsg) }
}
+ DBVARIANT dbv;
if (!getWString("JTemp", &dbv)) {
CMStringW command = L"a";
CMStringW save = L"";
|