mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-06-08 11:22:10 +03:00
Fixed formatting and made color default.
This commit is contained in:
parent
6bf5348b4e
commit
2f5dbc9391
@ -60,7 +60,7 @@ type Client struct {
|
|||||||
silencedUntil time.Time
|
silencedUntil time.Time
|
||||||
lastTX time.Time
|
lastTX time.Time
|
||||||
beepMe bool
|
beepMe bool
|
||||||
colorMe bool
|
colorMe bool
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewClient(server *Server, conn *ssh.ServerConn) *Client {
|
func NewClient(server *Server, conn *ssh.ServerConn) *Client {
|
||||||
@ -72,6 +72,7 @@ func NewClient(server *Server, conn *ssh.ServerConn) *Client {
|
|||||||
Msg: make(chan string, MSG_BUFFER),
|
Msg: make(chan string, MSG_BUFFER),
|
||||||
ready: make(chan struct{}, 1),
|
ready: make(chan struct{}, 1),
|
||||||
lastTX: time.Now(),
|
lastTX: time.Now(),
|
||||||
|
colorMe: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user