fixed AST_VDauto_dial.pl problem with campaign names that are roots of other campaign names matching and throwing off logged-in-agents numbers.

git-svn-id: svn://192.168.202.10@570 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2007-03-28 18:57:33 +00:00
parent f11eb8ef5e
commit 18f8c19694
+1 -1
View File
@@ -365,7 +365,7 @@ while($one_day_interval > 0)
$user_counter=0;
foreach(@DBlive_campaign)
{
if ( ($DBlive_campaign[$user_counter] =~ /$DBIPcampaign[$user_CIPct]/i) && ($DBlive_server_ip[$user_counter] =~ /$DBIPaddress[$user_CIPct]/i) )
if ( ($DBlive_campaign[$user_counter] =~ /$DBIPcampaign[$user_CIPct]/i) && (length($DBlive_campaign[$user_counter]) == length($DBIPcampaign[$user_CIPct])) && ($DBlive_server_ip[$user_counter] =~ /$DBIPaddress[$user_CIPct]/i) )
{
$DBIPcount[$user_CIPct]++;
$DBIPACTIVEcount[$user_CIPct] = ($DBIPACTIVEcount[$user_CIPct] + 0);