3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-15 00:19:29 +01:00

clean up dead code

This commit is contained in:
Shivaram Lingamneni 2024-02-25 03:52:52 -05:00
parent cab192e2af
commit 78f342655d

View File

@ -19,10 +19,6 @@ func (server *Server) Config() (config *Config) {
return server.config.Load() return server.config.Load()
} }
func (server *Server) ChannelRegistrationEnabled() bool {
return server.Config().Channels.Registration.Enabled
}
func (server *Server) GetOperator(name string) (oper *Oper) { func (server *Server) GetOperator(name string) (oper *Oper) {
name, err := CasefoldName(name) name, err := CasefoldName(name)
if err != nil { if err != nil {