fix bug with changing hash's

This commit is contained in:
2021-04-20 22:39:37 +02:00
parent a56755ffe9
commit 9ab151268d
2 changed files with 2 additions and 2 deletions

View File

@ -234,7 +234,7 @@ sub Undef {
sub Attr {
my ( $cmd, $name, $attrName, $attrVal ) = @_;
my $hash = $$::defs{$name};
my $hash = $::defs{$name};
if ( $attrName eq 'disable' ) {
if ( $cmd eq 'set' && $attrVal eq '1' ) {