forked from External/ergo
add CHANSERV UNREGISTER
This commit is contained in:
parent
7bf18443a8
commit
31f386f5a9
5 changed files with 115 additions and 54 deletions
|
|
@ -62,7 +62,7 @@ func (server *Server) DefaultChannelModes() modes.Modes {
|
|||
func (server *Server) ChannelRegistrationEnabled() bool {
|
||||
server.configurableStateMutex.RLock()
|
||||
defer server.configurableStateMutex.RUnlock()
|
||||
return server.channelRegistrationEnabled
|
||||
return server.config.Channels.Registration.Enabled
|
||||
}
|
||||
|
||||
func (server *Server) AccountConfig() *AccountConfig {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue