1
0
Fork 0
forked from External/ergo

add CHANSERV UNREGISTER

This commit is contained in:
Shivaram Lingamneni 2018-06-04 05:02:22 -04:00
parent 7bf18443a8
commit 31f386f5a9
5 changed files with 115 additions and 54 deletions

View file

@ -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 {