aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin.c b/plugin.c
index 40c8ad8..b045220 100644
--- a/plugin.c
+++ b/plugin.c
@@ -134,7 +134,7 @@ static int fetch_and_copy(struct client *client,
/* MODIFIED: keep track of mail as we copy */
#ifdef BACKEND_WANTS_SIGNATURE
signature = mail_get_first_header(mail, signature_hdr);
- if (is_empty_str(signature)) {
+ if (!signature || !signature[0]) {
ret = SIGNATURE_MISSING;
break;
}