Add message logging and search server side
This commit is contained in:
parent
6378131a9d
commit
3365832ce3
738 changed files with 143131 additions and 112 deletions
4
irc.go
4
irc.go
|
@ -227,8 +227,8 @@ func (i *IRC) writef(format string, a ...interface{}) {
|
|||
|
||||
func (i *IRC) send() {
|
||||
i.ready.Wait()
|
||||
for message := range i.out {
|
||||
i.conn.Write([]byte(message))
|
||||
for {
|
||||
i.conn.Write([]byte(<-i.out))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue