clear a topic rather than publish a "-"
This commit is contained in:
parent
489d5271d8
commit
a2d0779088
@ -85,7 +85,7 @@ sub set_berth($$$) {
|
|||||||
|
|
||||||
sub clear_berth($$) {
|
sub clear_berth($$) {
|
||||||
my ($area, $berth) = @_;
|
my ($area, $berth) = @_;
|
||||||
publish(sprintf("berths/%s/%s", $area||"-", $berth || "-"), "-");
|
publish(sprintf("berths/%s/%s", $area||"-", $berth || "-"), undef);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub publish($$) {
|
sub publish($$) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user