diff --git a/server/session/command.go b/server/session/command.go index 116456baa..f4813a2ee 100644 --- a/server/session/command.go +++ b/server/session/command.go @@ -58,6 +58,8 @@ func (s *Session) sendAvailableCommands() map[string]map[int]cmd.Runnable { } if run := c.Runnables(s.c); len(run) > 0 { m[alias] = run + } else { + continue } params := c.Params(s.c)