summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pamment <apamment@yandex.com>2019-03-02 03:59:26 +1000
committerAndrew Pamment <apamment@yandex.com>2019-03-02 03:59:26 +1000
commit63fd9d59e44ff69839a55352254395db745f344e (patch)
tree83483ffe3fa875ba3fccc6875a4c54dd9c468d68
parent4bb3f4694955659b7ba7191c980929db3b508c84 (diff)
fix another bug
-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);