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 {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if len(l) == 1 {
|
if l == "\n" {
|
||||||
|
r.ReadString(10)
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user