diff --git a/session/command_handler.go b/session/command_handler.go index e7efad17..677238d4 100644 --- a/session/command_handler.go +++ b/session/command_handler.go @@ -27,7 +27,6 @@ func (h *CommandHandler) Parse(line string) (bool, []string) { result := h.Parser.FindStringSubmatch(line) if len(result) == h.Parser.NumSubexp()+1 { return true, result[1:] - } else { - return false, nil } + return false, nil }