summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/www_msgs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/www_msgs.c b/src/www_msgs.c
index 49e37e7..10c2ba2 100644
--- a/src/www_msgs.c
+++ b/src/www_msgs.c
@@ -386,10 +386,10 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i
}
if (get_header_isprivate(mb, hdr)) {
- if (!msg_is_to(user, hdr->to, hdr->daddress, mc->nettype, mc->realnames, conference) &&
- !msg_is_from(user, hdr->from, hdr->oaddress, mc->nettype, mc->realnames, conference) &&
- !msg_is_to(user, hdr->to, hdr->daddress, mc->nettype, !mc->realnames, conference) &&
- !msg_is_from(user, hdr->from, hdr->oaddress, mc->nettype, !mc->realnames, conference)) {
+ if (!msg_is_to(user, hdr->to, hdr->daddress, mc->nettype, mc->realnames, mc) &&
+ !msg_is_from(user, hdr->from, hdr->oaddress, mc->nettype, mc->realnames, mc) &&
+ !msg_is_to(user, hdr->to, hdr->daddress, mc->nettype, !mc->realnames, mc) &&
+ !msg_is_from(user, hdr->from, hdr->oaddress, mc->nettype, !mc->realnames, mc)) {
free_message_hdr(hdr);
close_message_base(mb);