From 78f342655d873d01d33db0115cd3c239240effd9 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Sun, 25 Feb 2024 03:52:52 -0500 Subject: [PATCH] clean up dead code --- irc/getters.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/irc/getters.go b/irc/getters.go index baf86cc6..18ae58a4 100644 --- a/irc/getters.go +++ b/irc/getters.go @@ -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 {