forked from External/ergo
remove more indirections
This commit is contained in:
parent
353aeb0389
commit
80a594802f
6 changed files with 25 additions and 48 deletions
|
|
@ -14,11 +14,8 @@ type SnoManager struct {
|
|||
sendLists map[sno.Mask]map[*Client]bool
|
||||
}
|
||||
|
||||
// NewSnoManager returns a new SnoManager
|
||||
func NewSnoManager() *SnoManager {
|
||||
var m SnoManager
|
||||
func (m *SnoManager) Initialize() {
|
||||
m.sendLists = make(map[sno.Mask]map[*Client]bool)
|
||||
return &m
|
||||
}
|
||||
|
||||
// AddMasks adds the given snomasks to the client.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue