@@ -400,8 +400,8 @@ void CResourceChecker::CheckLuaFileForIssues ( const string& strPath, const stri
400400 if ( strFileContents.length () == 0 )
401401 return ;
402402
403- // Update decrypt version requirements, and do no more checking if encrypted
404- if ( CheckLuaDecryptRequirements ( strFileContents, strFileName, strResourceName, bClientScript ) )
403+ // Update deobfuscate version requirements, and do no more checking if obfuscated
404+ if ( CheckLuaDeobfuscateRequirements ( strFileContents, strFileName, strResourceName, bClientScript ) )
405405 return ;
406406
407407 // Check if a compiled script
@@ -446,12 +446,12 @@ void CResourceChecker::CheckLuaFileForIssues ( const string& strPath, const stri
446446
447447// /////////////////////////////////////////////////////////////
448448//
449- // CResourceChecker::CheckLuaDecryptRequirements
449+ // CResourceChecker::CheckLuaDeobfuscateRequirements
450450//
451- // Updates version requirements and returns true if encrypted
451+ // Updates version requirements and returns true if obfuscated
452452//
453453// /////////////////////////////////////////////////////////////
454- bool CResourceChecker::CheckLuaDecryptRequirements ( const string& strFileContents, const string& strFileName, const string& strResourceName, bool bClientScript )
454+ bool CResourceChecker::CheckLuaDeobfuscateRequirements ( const string& strFileContents, const string& strFileName, const string& strResourceName, bool bClientScript )
455455{
456456 // Get embedded version requirements
457457 SScriptInfo scriptInfo;
@@ -495,7 +495,7 @@ bool CResourceChecker::CheckLuaDecryptRequirements ( const string& strFileConten
495495 m_strReqServerReason = strFileName;
496496 }
497497
498- return IsLuaEncryptedScript ( strFileContents.c_str (), strFileContents.length () );
498+ return IsLuaObfuscatedScript ( strFileContents.c_str (), strFileContents.length () );
499499}
500500
501501
0 commit comments