mirror of
https://github.com/osmarks/ngircd.git
synced 2025-06-29 16:42:52 +00:00
Lists_CheckReason(): Check for Client_MaskCloaked()
Look for possible cloaked Masks in Lists. Users with +x usermode can be banned with their cloaked hostname now.
This commit is contained in:
parent
8618e942e6
commit
0131e1e00b
@ -342,7 +342,7 @@ Lists_CheckReason(struct list_head *h, CLIENT *Client)
|
|||||||
|
|
||||||
while (e) {
|
while (e) {
|
||||||
next = e->next;
|
next = e->next;
|
||||||
if (Match(e->mask, Client_Mask(Client))) {
|
if (Match(e->mask, Client_MaskCloaked(Client))) {
|
||||||
if (e->valid_until == 1) {
|
if (e->valid_until == 1) {
|
||||||
/* Entry is valid only once, delete it */
|
/* Entry is valid only once, delete it */
|
||||||
LogDebug("Deleted \"%s\" from list (used).",
|
LogDebug("Deleted \"%s\" from list (used).",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user