RSET should be allowed if not logged in

This commit is contained in:
Chuck 2013-07-05 14:19:15 +07:00
parent fbe59c409d
commit 726ec2d05b

View File

@ -248,11 +248,6 @@ class bitmessageSMTPChannel(asynchat.async_chat):
self.push('250 Ok') self.push('250 Ok')
def smtp_RSET(self, arg): def smtp_RSET(self, arg):
if not self.logged_in:
self.push('503 Not authenticated.')
self.close_when_done()
return
if arg: if arg:
self.push('501 Syntax: RSET') self.push('501 Syntax: RSET')
return return