diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/lists.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngircd/lists.c b/src/ngircd/lists.c index 38b3b0e8..d3f0c515 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))) { + 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) { |