fhem.pl: enable disableNotifyFn and more (Forum #121631)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@24650 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2021-06-17 18:21:46 +00:00
parent 5a3824dbaf
commit 2caa5a4e27

View File

@ -3882,7 +3882,7 @@ CallFn(@)
return undef;
}
my $fn = $modules{$defs{$d}{TYPE}}{$n};
return "" if(!$fn);
return "" if(!$fn || $defs{$d}{"disable$n"}); #121631
if(wantarray) {
no strict "refs";
my @ret = &{$fn}(@_);