fix sa hook
This commit is contained in:
parent
69359700b4
commit
a07f4a30d6
@ -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