correct peer verification

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6549 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876
2014-09-13 13:13:13 +00:00
parent dc0f5cce32
commit 0cc7efc43b

View File

@@ -387,8 +387,8 @@ sub HMinfo_peerCheck(@) { #####################################################
grep /^trigDst_/,
keys %{$defs{$eName}{READINGS}})){
push @peerIDsTrigUnp,"triggerUnpeered: ".$eName.":".$_
if( ($peerIDs && $peerIDs !~ m/$_/)
||("CCU-FHEM" ne AttrVal(CUL_HM_id2Name($_),"model","")));
if( ($peerIDs && $peerIDs !~ m/$_/)
&&("CCU-FHEM" ne AttrVal(CUL_HM_id2Name($_),"model","")));
push @peerIDsTrigUnd,"triggerUndefined: ".$eName.":".$_
if(!$modules{CUL_HM}{defptr}{$_});
}