ineffassign97

This commit is contained in:
Josh Baker 2016-04-02 18:33:38 -07:00
parent 8a97ea2218
commit 00ae41f0d4
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ func (c *Controller) cmdOutput(msg *server.Message) (res string, err error) {
var arg string var arg string
var ok bool var ok bool
if len(vs) != 0 { if len(vs) != 0 {
if vs, arg, ok = tokenval(vs); !ok || arg == "" { if _, arg, ok = tokenval(vs); !ok || arg == "" {
return "", errInvalidNumberOfArguments return "", errInvalidNumberOfArguments
} }
// Setting the original message output type will be picked up by the // Setting the original message output type will be picked up by the