2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-12 16:46:35 +00:00

fhem.pl: another instance of featurelevel 6.0 fixed

git-svn-id: https://svn.fhem.de/fhem/trunk@25197 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2021-11-07 14:07:23 +00:00
parent fb1c051a26
commit bec3812fcd

View File

@ -2864,7 +2864,7 @@ GlobalAttr($$$$)
if($type eq "del") {
my %noDel = ( modpath=>1, verbose=>1, logfile=>1, configfile=>1 );
return "The global attribute $name cannot be deleted" if($noDel{$name});
$featurelevel = 6.0 if($name eq "featurelevel");
$featurelevel = 6.1 if($name eq "featurelevel");
$haveInet6 = 0 if($name eq "useInet6"); # IPv6
delete($defs{global}{ignoreRegexpObj}) if($name eq "ignoreRegexp");
return undef;