mirror of
https://github.com/osmarks/ngircd.git
synced 2025-10-08 11:22:32 +00:00
Use "||" instead of "|"
This commit is contained in:

committed by
Alexander Barton

parent
ea7ad914c8
commit
7b30c352a1
@@ -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) {
|
||||
|
Reference in New Issue
Block a user