configDB - fixed: improved command analyzing

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5867 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen
2014-05-15 15:14:14 +00:00
parent 6e256b58a7
commit ef122ed9d4

View File

@@ -512,10 +512,8 @@ sub _cfgDB_Execute($@) {
my (@ret);
foreach my $l (@dbconfig) {
$l =~ s/[\r\n]//g;
if($l =~ m/\\*$/) { # Multiline commands
$l =~ s/\\/\n/g;
}
$l =~ s/[\r\n]/\n/g;
$l =~ s/\\\n/\n/g;
my $tret = AnalyzeCommandChain($cl, $l);
push @ret, $tret if(defined($tret));
}