Changeset 4922 for trunk/licq/src/icqd-srv.cpp
- Timestamp:
- 05/18/07 06:24:32 (19 months ago)
- Files:
-
- 1 modified
-
trunk/licq/src/icqd-srv.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/licq/src/icqd-srv.cpp
r4903 r4922 396 396 397 397 ICQUser *u = gUserManager.FetchUser(_szId, LICQ_PPID, LOCK_W); 398 // When we remove a user, we remove them from all parts of the list: 399 // Visible, Invisible and Ignore lists as well. 398 400 unsigned short nGSID = u->GetGSID(); 399 401 unsigned short nSID = u->GetSID(); 400 402 unsigned short nVisibleSID = u->GetVisibleSID(); 403 unsigned short nInvisibleSID = u->GetInvisibleSID(); 401 404 bool bIgnored = u->IgnoreList(); 402 405 u->SetGSID(0); 403 406 u->SetVisibleSID(0); 407 u->SetInvisibleSID(0); 404 408 u->SetVisibleList(false); 409 u->SetInvisibleList(false); 405 410 u->SaveLicqInfo(); 406 411 gUserManager.DropUser(u); … … 422 427 nVisibleSID, ICQ_ROSTxVISIBLE); 423 428 SendEvent_Server(pVisRemove); 429 } 430 431 if (nInvisibleSID) 432 { 433 CSrvPacketTcp *pInvisRemove = new CPU_RemoveFromServerList(_szId, 0, 434 nInvisibleSID, ICQ_ROSTxINVISIBLE); 435 SendEvent_Server(pInvisRemove); 424 436 } 425 437 }
