From 1d738a8a1851642d36e0ea96f26207a3fa235f75 Mon Sep 17 00:00:00 2001 From: Florian Thienel Date: Sat, 25 Mar 2023 17:26:33 +0100 Subject: [PATCH] use the correct command name to delete a spot --- client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/client.go b/client/client.go index 4ad24bb..ac52776 100644 --- a/client/client.go +++ b/client/client.go @@ -877,7 +877,7 @@ func (c *Client) AddSpot(callsign string, mode Mode, frequency int, color ARGB, // DeleteSpot deletes the spot with the given callsign. func (c *Client) DeleteSpot(callsign string) error { - _, err := c.command("spot", callsign) + _, err := c.command("spot_delete", callsign) return err }