Skip to content

Commit 53e00a5

Browse files
fixing config value assumption bug
1 parent d08e4f3 commit 53e00a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/email.lisp

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Someone signed the CLA:
100100
(adefun send-email (to subject body &key reply-to from-name (email-from *email-from*))
101101
"Send an email. Returns a future that finishes when the operation is done (or
102102
errors out otherwise)."
103-
(when *smtp-host*
103+
(when (and (boundp '*smtp-host*) *smtp-host*)
104104
(return-from send-email (send-email-smtp
105105
*smtp-host*
106106
email-from

0 commit comments

Comments
 (0)