diff --git a/sysmail.lua b/sysmail.lua index 7b1984e..5f97d90 100644 --- a/sysmail.lua +++ b/sysmail.lua @@ -1443,7 +1443,7 @@ local clientInterface = function(srv) client.deleteMail(srv, mailEntry) refresh() return - elseif key == keys.a then + elseif key == keys.a and getTableLength(mail.attachments) > 0 https://github.com/LDDestroier/CC/raw/master/sysmail.luathen local path = downloadAttachments() dialogueBox("DL'd to '" .. path .. "/'") elseif key == keys.q then