Skip to content

Commit

Permalink
fix config_parms check
Browse files Browse the repository at this point in the history
  • Loading branch information
hplato committed Jul 4, 2017
1 parent 90f813c commit 1980d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Voice_Cmd.pm
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ sub set {
#have mh_control.pl enabled (multiple check http server commands will run)
#if xAP voice commands need to execute, then turn on $config_parms{xap_enable_voice_cmds} = 1

return if (($set_by =~ m/^xAP/) and ((defined $::config_parms{xap_enable_voice_cmds}) and ($::config_parms{xap_enable_voice_cmds} == 0)));
return if (($set_by =~ m/^xAP/) and ((!defined $::config_parms{xap_enable_voice_cmds}) or ((defined $::config_parms{xap_enable_voice_cmds}) and ($::config_parms{xap_enable_voice_cmds} == 0))));

&main::print_log("DB Voice_Cmd : executing $cmd") if $main::Debug{voice};

Expand Down

0 comments on commit 1980d79

Please sign in to comment.