Changeset 6390
- Timestamp:
- 07/02/08 06:15:44 (3 months ago)
- Location:
- trunk/licq
- Files:
-
- 2 modified
-
include/licq_icqd.h (modified) (2 diffs)
-
src/icqd.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/licq/include/licq_icqd.h
r6347 r6390 557 557 bool bSendIntIp); 558 558 int StartTCPServer(TCPSocket *); 559 void CheckBirthdays(UinList &);560 unsigned short BirthdayRange() { return m_nBirthdayRange; }561 void BirthdayRange(unsigned short r) { m_nBirthdayRange = r; }562 559 563 560 bool AddUserToList(const char *szId, unsigned long PPID, bool bNotify = true, … … 700 697 m_nMaxUsersPerPacket, 701 698 m_nServerSequence, 702 m_nErrorTypes, 703 m_nBirthdayRange; 699 m_nErrorTypes; 704 700 char m_szErrorFile[64]; 705 701 int m_nTCPSrvSocketDesc, -
trunk/licq/src/icqd.cpp
r6382 r6390 1379 1379 } 1380 1380 1381 1382 //---CheckBirthdays------------------------------------------------------------1383 /*! \brief Sends a signal for each user whose birthday occurs in the next few days.1384 *1385 * This function is NOT IMPLEMENTED yet. Don't expect it to do anything usefull ;-P1386 */1387 void CICQDaemon::CheckBirthdays(UinList &uins)1388 {1389 FOR_EACH_USER_START(LOCK_R)1390 {1391 if (pUser->Birthday(m_nBirthdayRange) != -1)1392 uins.push_back(pUser->Uin());1393 }1394 FOR_EACH_USER_END1395 }1396 1397 1398 1381 /*---------------------------------------------------------------------------- 1399 1382 * CICQDaemon::SendEvent
