Update for Go 1.

This commit is contained in:
Mikkel Krautz 2012-02-06 22:16:16 +01:00
parent 4114a83d64
commit e46a65109f
31 changed files with 901 additions and 202 deletions

View file

@ -10,15 +10,14 @@ import (
// A Mumble channel
type Channel struct {
Id int
Name string
Position int
Id int
Name string
Position int
temporary bool
clients map[uint32]*Client
parent *Channel
children map[int]*Channel
clients map[uint32]*Client
parent *Channel
children map[int]*Channel
// ACL
ACL []*ChannelACL
@ -131,4 +130,4 @@ func (channel *Channel) IsTemporary() bool {
// Checks whether the channel is temporary
func (channel *Channel) IsEmpty() bool {
return len(channel.clients) == 0
}
}