fhem.pl: dummy-device is ignored in IOWrite and Dispatch

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4386 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2013-12-15 17:09:05 +00:00
parent 80c0efd17d
commit aad09ae94f

View File

@ -680,6 +680,8 @@ IOWrite($@)
return;
}
return if(IsDummy($iohash->{NAME}));
no strict "refs";
my $ret = &{$modules{$iohash->{TYPE}}{WriteFn}}($iohash, @a);
use strict "refs";
@ -2751,6 +2753,7 @@ Dispatch($$$)
my $module = $modules{$hash->{TYPE}};
my $name = $hash->{NAME};
return if(IsDummy($name));
Log3 $hash, 5, "$name dispatch $dmsg";
my ($isdup, $idx) = CheckDuplicate($name, $dmsg, $module->{FingerprintFn});