diff --git a/contrib/backends/srndv2/src/srnd/daemon.go b/contrib/backends/srndv2/src/srnd/daemon.go index d095b6a..2c11ae1 100644 --- a/contrib/backends/srndv2/src/srnd/daemon.go +++ b/contrib/backends/srndv2/src/srnd/daemon.go @@ -546,7 +546,6 @@ func (self *NNTPDaemon) MarkSpam(msgid string) { // run daemon func (self *NNTPDaemon) Run() { - self.spamFilter.Configure(self.conf.spamconf) self.bind_addr = self.conf.daemon["bind"] listener, err := net.Listen("tcp", self.bind_addr) @@ -1152,6 +1151,8 @@ func (self *NNTPDaemon) Setup() { self.frontend = NewHTTPFrontend(self, self.cache, self.conf.frontend, self.conf.worker["url"]) } + + self.spamFilter.Configure(self.conf.spamconf) self.mod = &modEngine{ spam: &self.spamFilter,