BOOL CDbManager::CanJoin( LPCTSTR szAccount, ACCOUNT_CACHE* pAccountCache ){ time_t t = ::time( NULL );#ifdef __INVALID_LOGIN_0320 if( pAccountCache->IsPlaying() ) { // ¸ÖƼ ¼¹ö ¹øÈ£°¡ ÃʱâȵÇÁö ¾Ê´Â °æ¿ì°¡ ÀÖ´Ù. // Á¾·á ÈÄ ½Ã°£ÀÌ 3ºÐ ÀÌ»ó °æ°ú µÇ¾ú´Ù¸é Çã¿ëÇÑ´Ù. if( t > pAccountCache->m_tmPrevent + 180 ) { pAccountCache->ChangeMultiServer( 0 ); Error( "CanJoin - time over" ); } else { Error( "CanJoin - playing" ); return FALSE; } }#endif // __INVALID_LOGIN_0320 if( t > pAccountCache->m_tmPrevent ) // ÀÏ¹Ý return TRUE; else { char szBuffer[256]; sprintf( szBuffer, "CanJoin - cur:%d prevent:%d\n", t, pAccountCache->m_tmPrevent ); OutputDebugString( szBuffer ); return FALSE; }}