X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/30ba82a584441fc730ad733081805d15fd07bd09..4c795bdb6d8f0a75a7a484775151e810aac3de4c:/site.c diff --git a/site.c b/site.c index 4ec56df..d0dd909 100644 --- a/site.c +++ b/site.c @@ -1781,8 +1781,8 @@ static bool_t named_for_us(struct site *st, const struct buffer_if *buf_in, } static bool_t we_have_priority(struct site *st, const struct msg *m) { - if ((st->local_capabilities & m->remote_capabilities) - && CAPAB_PRIORITY_MOBILE) { + if (st->local_capabilities & m->remote_capabilities & + CAPAB_PRIORITY_MOBILE) { if (st->local_mobile) return True; if (st-> peer_mobile) return False; }