mirror of
https://github.com/shazow/ssh-chat.git
synced 2026-10-27 01:16:21 +03:00
Fixed formatting and made color default.
This commit is contained in:
1 parent
6bf5348b4e
commit
2f5dbc9391
1 file changed
+2
-1
@@ -60,7 +60,7 @@ type Client struct {
|
||||
silencedUntil time.Time
|
||||
lastTX time.Time
|
||||
beepMe bool
|
||||
colorMe bool
|
||||
colorMe bool
|
||||
}
|
||||
|
||||
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),
|
||||
ready: make(chan struct{}, 1),
|
||||
lastTX: time.Now(),
|
||||
colorMe: true,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user