From 2038c9c4ac15cc42892174189c95f5425db6f328 Mon Sep 17 00:00:00 2001 From: sloumdrone Date: Sat, 9 Nov 2019 19:27:15 -0800 Subject: [PATCH] HOTFIX: Removes incorrect draw of error message --- client.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/client.go b/client.go index eac6331..80e7b36 100644 --- a/client.go +++ b/client.go @@ -424,10 +424,9 @@ func (c *client) doCommandAs(action string, values []string) { } c.SetMessage(fmt.Sprintf("Unable to set %s, it does not exist", values[0]), true) c.DrawMessage() - return + default: + c.SetMessage(fmt.Sprintf("Unknown command structure"), true) } - c.SetMessage(fmt.Sprintf("Unknown command structure"), true) - c.DrawMessage() } func (c *client) doLinkCommandAs(action, target string, values []string) {