diff options
Diffstat (limited to 'protocols/IRCG/src/clist.cpp')
-rw-r--r-- | protocols/IRCG/src/clist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IRCG/src/clist.cpp b/protocols/IRCG/src/clist.cpp index 878faa9ec0..6c2a92de29 100644 --- a/protocols/IRCG/src/clist.cpp +++ b/protocols/IRCG/src/clist.cpp @@ -145,7 +145,7 @@ bool CIrcProto::CList_SetAllOffline(BYTE ChatsToo) DisconnectAllDCCSessions(false);
for (HANDLE hContact = db_find_first(m_szModuleName); hContact; hContact = db_find_next(hContact, m_szModuleName)) {
- if ( getByte( hContact, "ChatRoom", 0 ))
+ if ( isChatRoom(hContact))
continue;
if ( getByte(hContact, "DCC", 0 ) != 0 ) {
@@ -179,7 +179,7 @@ HANDLE CIrcProto::CList_FindContact (CONTACT* user) DBVARIANT dbv5;
for (HANDLE hContact = db_find_first(m_szModuleName); hContact; hContact = db_find_next(hContact, m_szModuleName)) {
- if ( getByte( hContact, "ChatRoom", 0))
+ if ( isChatRoom(hContact))
continue;
HANDLE hContact_temp = NULL;
|