From 7b30c352a1f47fbcf020720c4aeb1a669bf37878 Mon Sep 17 00:00:00 2001 From: hello-smile6 <73048226+hello-smile6@users.noreply.github.com> Date: Wed, 14 Dec 2022 12:33:03 -0800 Subject: [PATCH] Use "||" instead of "|" --- src/ngircd/lists.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngircd/lists.c b/src/ngircd/lists.c index d3f0c515..69ea79a4 100644 --- a/src/ngircd/lists.c +++ b/src/ngircd/lists.c @@ -341,7 +341,7 @@ Lists_CheckReason(struct list_head *h, CLIENT *Client, char *reason, size_t len) while (e) { next = e->next; - if (MatchCaseInsensitive(e->mask, Client_MaskCloaked(Client)) | MatchCaseInsensitive(e->mask, Client_Mask(Client))) { + if (MatchCaseInsensitive(e->mask, Client_MaskCloaked(Client)) || MatchCaseInsensitive(e->mask, Client_Mask(Client))) { if (len && e->reason) strlcpy(reason, e->reason, len); if (e->onlyonce) { -- 2.39.2