From f431a7987af4b5c036363fd4ffded61ebb790e3f Mon Sep 17 00:00:00 2001 From: swee Date: Wed, 22 Jan 2025 20:19:22 -0800 Subject: [PATCH] Update modules/pawserv.py --- modules/pawserv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pawserv.py b/modules/pawserv.py index 37232ca..9805859 100644 --- a/modules/pawserv.py +++ b/modules/pawserv.py @@ -58,7 +58,7 @@ class IRCatModule: message = f"\\\nSubject: {self.net_name} Account Verification\n\nHi,\nIt appears you have tried to register an account ({nick}) with this email on {self.net_name},\nIf you did not register an account, feel free to delete this email.\nIf you did, use this command:\n/nickserv verify {nick} {token}" with smtplib.SMTP(self.smtp_server, self.smtp_port) as server: server.ehlo() - if self.starttls: + if self.smtp_starttls: server.starttls(context=context) server.ehlo() server.login(self.smtp_username, self.smtp_password)