From 807b650f99a4c8c6660a0e995248b1c7a04e1740 Mon Sep 17 00:00:00 2001 From: Andrey Petrov Date: Sun, 14 Dec 2014 19:51:47 -0800 Subject: [PATCH] Alias /names to /list, closes #28 --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index b843c3f..cd5f547 100644 --- a/client.go +++ b/client.go @@ -255,7 +255,7 @@ func (c *Client) handleShell(channel ssh.Channel) { } else { c.SysMsg("Missing $NAME from: /whois $NAME") } - case "/list": + case "/names", "/list": names := "" nameList := c.Server.List(nil) for _, name := range nameList {