|
@@ -83,7 +83,6 @@ type Server struct {
|
83
|
83
|
channelRegistry *ChannelRegistry
|
84
|
84
|
checkIdent bool
|
85
|
85
|
clients *ClientManager
|
86
|
|
- commands chan Command
|
87
|
86
|
configFilename string
|
88
|
87
|
configurableStateMutex sync.RWMutex // tier 1; generic protection for server state modified by rehash()
|
89
|
88
|
connectionLimiter *connection_limits.Limiter
|
|
@@ -147,7 +146,6 @@ func NewServer(config *Config, logger *logger.Manager) (*Server, error) {
|
147
|
146
|
accounts: make(map[string]*ClientAccount),
|
148
|
147
|
channels: NewChannelManager(),
|
149
|
148
|
clients: NewClientManager(),
|
150
|
|
- commands: make(chan Command),
|
151
|
149
|
connectionLimiter: connection_limits.NewLimiter(),
|
152
|
150
|
connectionThrottler: connection_limits.NewThrottler(),
|
153
|
151
|
languages: NewLanguageManager(config.Languages.Default, config.Languages.Data),
|