mirror of
https://github.com/tomoko-dev9/nntpchan.git
synced 2026-06-01 20:34:46 +02:00
fix sa hook
This commit is contained in:
@@ -51,7 +51,8 @@ func (sp *SpamFilter) Rewrite(msg io.Reader, out io.WriteCloser) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if len(l) == 1 {
|
||||
if l == "\n" {
|
||||
r.ReadString(10)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user