mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
00_MQTT2_SERVER.pm: fix clearRetain (Forum #127223)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@25984 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
044b307379
commit
77ef114ad1
@ -236,7 +236,7 @@ MQTT2_SERVER_Set($@)
|
|||||||
my $rname = AttrVal($hash->{NAME}, "hideRetain", 0) ? "RETAIN" : ".RETAIN";
|
my $rname = AttrVal($hash->{NAME}, "hideRetain", 0) ? "RETAIN" : ".RETAIN";
|
||||||
delete($hash->{READINGS}{$rname});
|
delete($hash->{READINGS}{$rname});
|
||||||
delete($hash->{retain});
|
delete($hash->{retain});
|
||||||
|
return undef;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user