mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
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:
parent
80c0efd17d
commit
aad09ae94f
3
fhem.pl
3
fhem.pl
@ -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});
|
||||
|
Loading…
x
Reference in New Issue
Block a user