Skip to content

Commit

Permalink
clean up dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
slingamn committed Feb 25, 2024
1 parent cab192e commit 78f3426
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions irc/getters.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ func (server *Server) Config() (config *Config) {
return server.config.Load()
}

func (server *Server) ChannelRegistrationEnabled() bool {
return server.Config().Channels.Registration.Enabled
}

func (server *Server) GetOperator(name string) (oper *Oper) {
name, err := CasefoldName(name)
if err != nil {
Expand Down

0 comments on commit 78f3426

Please sign in to comment.