configDB - fixed: improved command analyzing

git-svn-id: https://svn.fhem.de/fhem/trunk@5867 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen
2014-05-15 15:14:14 +00:00
parent 508a330e5c
commit 1feb574aaf

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));
}