forked from External/grumble
Fix voice send/recv.
This commit is contained in:
parent
0bf84fb3f3
commit
d7dd29b45c
2 changed files with 26 additions and 15 deletions
|
|
@ -108,7 +108,6 @@ func (c *Client) sendProtoMessage(kind uint16, msg interface{}) (err os.Error) {
|
|||
// UDP receiver.
|
||||
func (client *Client) udpreceiver() {
|
||||
for buf := range client.udprecv {
|
||||
|
||||
// Channel close.
|
||||
if len(buf) == 0 {
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue