Changeset 6343

Show
Ignore:
Timestamp:
06/19/08 01:00:11 (6 months ago)
Author:
flynd
Message:

Always return true if asking if we're member in All Users.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/licq/src/user.cpp

    r6341 r6343  
    39003900bool ICQUser::GetInGroup(GroupType gtype, unsigned short groupId) const 
    39013901{ 
    3902   if (groupId == 0) 
    3903       return false; 
    3904  
    39053902  if (gtype == GROUPS_SYSTEM) 
     3903  { 
     3904    if (groupId == 0) 
     3905      return true; 
    39063906    return (mySystemGroups & (1L << (groupId -1))) != 0; 
     3907  } 
    39073908  else 
    39083909    return myGroups.count(groupId) > 0;