Alias /names to /list, closes #28

This commit is contained in:
Andrey Petrov 2014-12-14 19:51:47 -08:00
parent a7a2173c3f
commit 807b650f99

View File

@ -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 {