mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
remove utils.ConfigStore in favor of atomic.Pointer[T]
This commit is contained in:
parent
de1be675f5
commit
a99c8a42f9
3 changed files with 4 additions and 36 deletions
|
|
@ -16,7 +16,7 @@ import (
|
|||
)
|
||||
|
||||
func (server *Server) Config() (config *Config) {
|
||||
return server.config.Get()
|
||||
return server.config.Load()
|
||||
}
|
||||
|
||||
func (server *Server) ChannelRegistrationEnabled() bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue