mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 03:44:52 +00:00
fhem.pl: avoid WARNING when autoloading nonexistent FS20V.pm (Forum #130952)
git-svn-id: https://svn.fhem.de/fhem/trunk@26866 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
41542c0d5a
commit
9365c35e2f
@ -4192,7 +4192,8 @@ Dispatch($$;$$)
|
||||
if(defined($h)) {
|
||||
foreach my $m (sort keys %{$h}) {
|
||||
my ($order, $mname) = split(":", $m);
|
||||
next if($modules{$mname}{LOADED}); # checked in the loop above, #125292
|
||||
next if(!$modules{$mname} ||
|
||||
!$modules{$mname}{LOADED}); # checked in the loop above, #125292
|
||||
if($dmsg =~ m/$h->{$m}/s) {
|
||||
if(AttrVal("global", "autoload_undefined_devices", 1)) {
|
||||
my $newm = LoadModule($mname);
|
||||
|
Loading…
x
Reference in New Issue
Block a user