Changeset 6357
- Timestamp:
- 06/25/08 04:18:17 (5 months ago)
- Files:
-
- 1 modified
-
trunk/licq/src/icqd-srv.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/licq/src/icqd-srv.cpp
r6356 r6357 2028 2028 #endif 2029 2029 2030 // Mark all users as offline, this also updates the last seen2031 // online field2032 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_END2038 2039 2030 ICQOwner *o = gUserManager.FetchOwner(LOCK_W); 2040 2031 if (o) … … 2049 2040 2050 2041 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 2051 2051 } 2052 2052
