Fix me broadcast.

This commit is contained in:
Andrey Petrov 2014-12-12 15:06:12 -08:00
parent 0c42706d88
commit da48b9da8a

View File

@ -130,7 +130,7 @@ func (c *Client) handleShell(channel ssh.Channel) {
if c.IsSilenced() {
c.Msg <- fmt.Sprintf("-> Message rejected, silenced.")
} else {
c.Server.Broadcast(msg, c)
c.Server.Broadcast(msg, nil)
}
case "/nick":
if len(parts) == 2 {