From 2265b4b2ae59efc44127e2d4b45f0344c62e8385 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Tue, 6 Nov 2018 16:03:44 -0500 Subject: [PATCH] more --- contrib/backends/srndv2/src/srnd/daemon.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,