mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-31 03:03:05 -07:00
load isupport directly into the config object
eliminates Server.configurableStateMutex
This commit is contained in:
@@ -22,9 +22,13 @@ type List struct {
|
||||
// NewList returns a new List
|
||||
func NewList() *List {
|
||||
var il List
|
||||
il.Initialize()
|
||||
return &il
|
||||
}
|
||||
|
||||
func (il *List) Initialize() {
|
||||
il.Tokens = make(map[string]*string)
|
||||
il.CachedReply = make([][]string, 0)
|
||||
return &il
|
||||
}
|
||||
|
||||
// Add adds an RPL_ISUPPORT token to our internal list
|
||||
|
||||
Reference in New Issue
Block a user