mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
fhem.pl: dummy-device is ignored in IOWrite and Dispatch
git-svn-id: https://svn.fhem.de/fhem/trunk@4386 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
989d647407
commit
2e4894ec13
@ -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