diff options
author | George Hazan <george.hazan@gmail.com> | 2012-10-08 11:17:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-10-08 11:17:06 +0000 |
commit | 39b98d62430ee2a762db94822c2da05b2065d021 (patch) | |
tree | 9a9e551d19fe9beae45ec1edadd6d8fec023efe9 /src/core | |
parent | 607e8d87185d4388f3bc8a9797075eb99e472ee1 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@1812 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdchat/src/clist.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/stdchat/src/clist.cpp b/src/core/stdchat/src/clist.cpp index df60f1de3a..aa17d09d6c 100644 --- a/src/core/stdchat/src/clist.cpp +++ b/src/core/stdchat/src/clist.cpp @@ -67,8 +67,6 @@ HANDLE CList_AddRoom(const char* pszModule, const TCHAR* pszRoom, const TCHAR* p END_GROUPLOOP:
DBWriteContactSettingWord( hContact, pszModule, "Status", ID_STATUS_OFFLINE );
DBWriteContactSettingTString(hContact, pszModule, "Nick", pszDisplayName );
-/* if ( iType != GCW_SERVER )
- DBWriteContactSettingByte(hContact, "CList", "Hidden", 1);*/
return hContact;
}
@@ -85,8 +83,6 @@ END_GROUPLOOP: DBWriteContactSettingTString( hContact, pszModule, "ChatRoomID", pszRoom );
DBWriteContactSettingByte( hContact, pszModule, "ChatRoom", (BYTE)iType );
DBWriteContactSettingWord( hContact, pszModule, "Status", ID_STATUS_OFFLINE );
-// if (iType == GCW_SERVER)
- // DBWriteContactSettingByte(hContact, "CList", "Hidden", 1);
return hContact;
}
@@ -97,8 +93,6 @@ BOOL CList_SetOffline(HANDLE hContact, BOOL bHide) int i = DBGetContactSettingByte(hContact, szProto, "ChatRoom", 0);
DBWriteContactSettingWord(hContact, szProto,"ApparentMode",(LPARAM) 0);
DBWriteContactSettingWord(hContact, szProto, "Status", ID_STATUS_OFFLINE);
-/* if ( bHide && i != GCW_SERVER )
- DBWriteContactSettingByte(hContact, "CList", "Hidden", 1);*/
return TRUE;
}
@@ -119,8 +113,6 @@ BOOL CList_SetAllOffline(BOOL bHide, const char *pszModule) if ( i != 0 ) {
DBWriteContactSettingWord(hContact, szProto,"ApparentMode",(LPARAM)(WORD) 0);
DBWriteContactSettingWord(hContact, szProto, "Status", ID_STATUS_OFFLINE);
- /*0000if (bHide && i == GCW_CHATROOM)d0
- DBWriteContactSettingByte(hContact, "CList", "Hidden", 1);*/
} } }
hContact = (HANDLE) CallService(MS_DB_CONTACT_FINDNEXT, (WPARAM) hContact, 0);
}
@@ -261,7 +253,6 @@ void CList_CreateGroup(TCHAR* group) DBFreeVariant(&dbv);
}
- // CallService(MS_CLIST_GROUPCREATE, (WPARAM)group, 0);
name[0] = 1 | GROUPF_EXPANDED;
_tcsncpy(name + 1, group, SIZEOF(name) - 1);
name[ lstrlen(group) + 1] = '\0';
|