summaryrefslogtreecommitdiffstats
path: root/Lib/smtpd.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/smtpd.py')
-rwxr-xr-xLib/smtpd.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/smtpd.py b/Lib/smtpd.py
index dd83988..ca68790 100755
--- a/Lib/smtpd.py
+++ b/Lib/smtpd.py
@@ -293,10 +293,10 @@ class SMTPChannel(asynchat.async_chat):
else:
data.append(text)
self.received_data = NEWLINE.join(data)
- status = self.__server.process_message(self.peer,
- self.mailfrom,
- self.rcpttos,
- self.received_data)
+ status = self.smtp_server.process_message(self.peer,
+ self.mailfrom,
+ self.rcpttos,
+ self.received_data)
self.rcpttos = []
self.mailfrom = None
self.smtp_state = self.COMMAND