diff --git a/exec/email_sec.js b/exec/email_sec.js index b30da809cc08a4832efb32d2d284b8307acd99fd..3be4b788d1fe66d79087bbf1382760e910d3f977 100644 --- a/exec/email_sec.js +++ b/exec/email_sec.js @@ -17,7 +17,7 @@ const ini_section = "netmail sent"; const NetmailAddressHistoryLength = 10; -while(bbs.online) { +while(bbs.online && !console.aborted) { if(!(user.settings & USER_EXPERT)) bbs.menu("e-mail"); bbs.nodesync();