remove channel buffering

This commit is contained in:
Jeremy Latt 2014-02-19 18:22:57 -08:00
parent 6265b70622
commit af6a8ee6f0
2 changed files with 4 additions and 4 deletions

View file

@ -30,10 +30,10 @@ func NewServer(config *Config) *Server {
server := &Server{
channels: make(ChannelNameMap),
clients: make(ClientNameMap),
commands: make(chan Command, 16),
conns: make(chan net.Conn, 16),
commands: make(chan Command),
conns: make(chan net.Conn),
ctime: time.Now(),
idle: make(chan *Client, 16),
idle: make(chan *Client),
motdFile: config.MOTD,
name: config.Name,
operators: make(map[string]string),