2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

avoid ActionDetector from -to-

git-svn-id: https://svn.fhem.de/fhem/trunk@2565 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2013-01-25 18:54:46 +00:00
parent d63dec1b2c
commit 6052279cef

View File

@ -361,9 +361,10 @@ CUL_HM_Parse($$)
# $shash will be replaced for multichannel commands
my $shash = $modules{CUL_HM}{defptr}{$src};
my $dhash = $modules{CUL_HM}{defptr}{$dst};
my $dname = $dhash ? $dhash->{NAME} :
($dst eq "000000" ? "broadcast" :
($dst eq $id ? $iohash->{NAME} : $dst));
my $dname = ($dst eq "000000") ? "broadcast" :
($dhash ? $dhash->{NAME} :
($dst eq $id ? $iohash->{NAME} :
$dst));
my $target = " (to $dname)";
my $msgStat;
($p,$msgStat) = split(":",$p,2);