summaryrefslogtreecommitdiff
path: root/imap4d/uid.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap4d/uid.c')
-rw-r--r--imap4d/uid.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/imap4d/uid.c b/imap4d/uid.c
index 739aff9f6..9d34b4609 100644
--- a/imap4d/uid.c
+++ b/imap4d/uid.c
@@ -37,7 +37,11 @@ imap4d_uid (struct imap4d_command *command, imap4d_tokbuf_t tok)
cmd = imap4d_tokbuf_getarg (tok, IMAP4_ARG_1);
if (mu_c_strcasecmp (cmd, "FETCH") == 0)
- rc = imap4d_fetch0 (tok, 1, &err_text);
+ {
+ int xlev = set_xscript_level (XSCRIPT_PAYLOAD);
+ rc = imap4d_fetch0 (tok, 1, &err_text);
+ set_xscript_level (xlev);
+ }
else if (mu_c_strcasecmp (cmd, "COPY") == 0)
rc = imap4d_copy0 (tok, 1, &err_text);
else if (mu_c_strcasecmp (cmd, "STORE") == 0)

Return to:

Send suggestions and report system problems to the System administrator.