Skip to content

Commit a127636

Browse files
authored
Fix the logic, shouldn't
really have effected anything :)
1 parent 9b00c89 commit a127636

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sendmail.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,10 @@ module.exports = function (options) {
242242
if(upgraded != true){
243243
if(/\bSTARTTLS\b/i.test(msg)){
244244
w('STARTTLS');
245+
} else {
246+
upgraded = true;
245247
}
246-
upgraded = true;
248+
247249
break;
248250
}
249251

0 commit comments

Comments
 (0)