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