2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-25 03:44:52 +00:00

fhem.pl: Fix the FS20V-fix (Forum #130952)

git-svn-id: https://svn.fhem.de/fhem/trunk@26868 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2022-12-18 10:35:06 +00:00
parent 6c35b1fad5
commit dbfaa1dcd4

View File

@ -4192,8 +4192,8 @@ Dispatch($$;$$)
if(defined($h)) { if(defined($h)) {
foreach my $m (sort keys %{$h}) { foreach my $m (sort keys %{$h}) {
my ($order, $mname) = split(":", $m); my ($order, $mname) = split(":", $m);
next if(!$modules{$mname} || next if(!$modules{$mname} || # #130952 / FS20V
!$modules{$mname}{LOADED}); # checked in the loop above, #125292 $modules{$mname}{LOADED}); # checked in the loop above, #125292
if($dmsg =~ m/$h->{$m}/s) { if($dmsg =~ m/$h->{$m}/s) {
if(AttrVal("global", "autoload_undefined_devices", 1)) { if(AttrVal("global", "autoload_undefined_devices", 1)) {
my $newm = LoadModule($mname); my $newm = LoadModule($mname);