From 39b98d62430ee2a762db94822c2da05b2065d021 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 8 Oct 2012 11:17:06 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@1812 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdchat/src/clist.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/core/stdchat') 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'; -- cgit v1.2.3