summaryrefslogtreecommitdiff
path: root/pith/send.h
diff options
context:
space:
mode:
Diffstat (limited to 'pith/send.h')
-rw-r--r--pith/send.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pith/send.h b/pith/send.h
index 69d763fc..ee3245e5 100644
--- a/pith/send.h
+++ b/pith/send.h
@@ -159,6 +159,8 @@ struct local_message_copy {
unsigned text_written:1;
};
+#define CAN_EDIT(x) (!((x)->never_allow_changing_from) && \
+ F_ON(F_ALLOW_CHANGING_FROM, (x)))
#define TONAME "To"
#define CCNAME "cc"