Changeset 6390

Show
Ignore:
Timestamp:
07/02/08 06:15:44 (3 months ago)
Author:
flynd
Message:

Removed the birtday functions from daemon. They were not fully implemented and did nothing but they used uin.

Location:
trunk/licq
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/licq/include/licq_icqd.h

    r6347 r6390  
    557557     bool bSendIntIp); 
    558558  int StartTCPServer(TCPSocket *); 
    559   void CheckBirthdays(UinList &); 
    560   unsigned short BirthdayRange() { return m_nBirthdayRange; } 
    561   void BirthdayRange(unsigned short r) { m_nBirthdayRange = r; } 
    562559 
    563560  bool AddUserToList(const char *szId, unsigned long PPID, bool bNotify = true, 
     
    700697                 m_nMaxUsersPerPacket, 
    701698                 m_nServerSequence, 
    702                  m_nErrorTypes, 
    703                  m_nBirthdayRange; 
     699                 m_nErrorTypes; 
    704700  char m_szErrorFile[64]; 
    705701  int m_nTCPSrvSocketDesc, 
  • trunk/licq/src/icqd.cpp

    r6382 r6390  
    13791379} 
    13801380 
    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 ;-P 
    1386  */ 
    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_END 
    1395 } 
    1396  
    1397  
    13981381/*---------------------------------------------------------------------------- 
    13991382 * CICQDaemon::SendEvent