Changeset 6324
- Timestamp:
- 06/17/08 03:43:21 (6 months ago)
- Files:
-
- 1 modified
-
trunk/licq/src/user.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/licq/src/user.cpp
r6306 r6324 1558 1558 GroupType groupType, unsigned short groupId, bool inGroup, bool updateServer) 1559 1559 { 1560 // User group 0 is invalid and system group 0 is All Users 1561 if (groupId == 0) 1562 return; 1563 1560 1564 ICQUser* u = gUserManager.FetchUser(id, ppid, LOCK_W); 1561 1565 if (u == NULL) … … 1564 1568 int gsid = u->GetGSID(); 1565 1569 1566 if ( !inGroup && u->GetSID() != 0 && GetGroupFromID(gsid) == groupId)1570 if (groupType == GROUPS_USER && !inGroup && u->GetSID() != 0 && GetGroupFromID(gsid) == groupId) 1567 1571 { 1568 1572 // Don't remove user from local group if member of the same server group
