From 00ae41f0d48d459df0d29412d21c020eadb7f8a6 Mon Sep 17 00:00:00 2001 From: Josh Baker Date: Sat, 2 Apr 2016 18:33:38 -0700 Subject: [PATCH] ineffassign97 --- controller/output.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/output.go b/controller/output.go index 03a5b31e..dff99485 100644 --- a/controller/output.go +++ b/controller/output.go @@ -13,7 +13,7 @@ func (c *Controller) cmdOutput(msg *server.Message) (res string, err error) { var arg string var ok bool if len(vs) != 0 { - if vs, arg, ok = tokenval(vs); !ok || arg == "" { + if _, arg, ok = tokenval(vs); !ok || arg == "" { return "", errInvalidNumberOfArguments } // Setting the original message output type will be picked up by the