Implement Reset on SessionLocal

This commit is contained in:
Neil Alexander
2021-07-09 19:57:56 +01:00
parent 2c484d44a7
commit d290ec1c22

View File

@@ -107,7 +107,10 @@ func (s *SessionLocal) Data(r io.Reader) error {
return nil
}
func (s *SessionLocal) Reset() {}
func (s *SessionLocal) Reset() {
s.rcpt = s.rcpt[:0]
s.from = ""
}
func (s *SessionLocal) Logout() error {
return nil