diff options
| author | 9pfs <hellosmile6@tilde.pink> | 2022-12-13 00:47:53 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2022-12-17 14:54:55 +0100 |
| commit | ea7ad914c8c60a6e51f66ac8e535167636a17ea5 (patch) | |
| tree | 9286d4918e75db367f470d80d66c807feb8ccae4 | |
| parent | 93e36555e3f03bd1375f8c35913c54459604c7c2 (diff) | |
| download | ngircd-ea7ad914c8c60a6e51f66ac8e535167636a17ea5.tar.gz ngircd-ea7ad914c8c60a6e51f66ac8e535167636a17ea5.zip | |
Fix gline/kline with cloaked hostnames
| -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) { |