mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 10:10:08 -08:00
Make channels synchronous.
This commit is contained in:
parent
74aaf2f9d3
commit
0001131095
5 changed files with 7 additions and 7 deletions
|
|
@ -29,7 +29,7 @@ type Server struct {
|
|||
}
|
||||
|
||||
func NewServer(name string) *Server {
|
||||
commands := make(chan Command, 1)
|
||||
commands := make(chan Command)
|
||||
server := &Server{
|
||||
ctime: time.Now(),
|
||||
name: name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue