Skip to content

Commit

Permalink
fix: fixed concurrency issue
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Dec 18, 2024
1 parent cbaaae5 commit b222a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/on-connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ async function onConnect(session, fn) {
session.resolvedClientHostname &&
session.resolvedClientHostname.endsWith('.compute.amazonaws.com');

if (!session.isAllowlisted && !isAWS) return fn();
if (session.isAllowlisted && !isAWS) return fn();

//
// NOTE: until onConnect is available for IMAP and POP3 servers
Expand Down

0 comments on commit b222a84

Please sign in to comment.