mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-27 09:28:09 -07:00
buffer all channels
This commit is contained in:
+3
-3
@@ -30,10 +30,10 @@ func NewServer(config *Config) *Server {
|
||||
server := &Server{
|
||||
channels: make(ChannelNameMap),
|
||||
clients: make(ClientNameMap),
|
||||
commands: make(chan Command),
|
||||
conns: make(chan net.Conn),
|
||||
commands: make(chan Command, 16),
|
||||
conns: make(chan net.Conn, 16),
|
||||
ctime: time.Now(),
|
||||
idle: make(chan *Client),
|
||||
idle: make(chan *Client, 16),
|
||||
motdFile: config.MOTD,
|
||||
name: config.Name,
|
||||
operators: make(map[string]string),
|
||||
|
||||
Reference in New Issue
Block a user