Changeset 6357

Show
Ignore:
Timestamp:
06/25/08 04:18:17 (5 months ago)
Author:
eugene
Message:

Moved user processing further, after owner logoff signal is sent.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/licq/src/icqd-srv.cpp

    r6356 r6357  
    20282028#endif 
    20292029 
    2030   // Mark all users as offline, this also updates the last seen 
    2031   // online field 
    2032   FOR_EACH_PROTO_USER_START(LICQ_PPID, LOCK_W) 
    2033   { 
    2034     if (!pUser->StatusOffline()) 
    2035       ChangeUserStatus(pUser, ICQ_STATUS_OFFLINE); 
    2036   } 
    2037   FOR_EACH_PROTO_USER_END 
    2038  
    20392030  ICQOwner *o = gUserManager.FetchOwner(LOCK_W); 
    20402031  if (o) 
     
    20492040 
    20502041  PushPluginSignal(new CICQSignal(SIGNAL_LOGOFF, 0, 0, LICQ_PPID, 0, 0)); 
     2042 
     2043  // Mark all users as offline, this also updates the last seen 
     2044  // online field 
     2045  FOR_EACH_PROTO_USER_START(LICQ_PPID, LOCK_W) 
     2046  { 
     2047    if (!pUser->StatusOffline()) 
     2048      ChangeUserStatus(pUser, ICQ_STATUS_OFFLINE); 
     2049  } 
     2050  FOR_EACH_PROTO_USER_END 
    20512051} 
    20522052