diff options
| author | Sebastian Köhler <sebkoehler@whoami.org.uk> | 2013-03-20 03:40:31 +0100 |
|---|---|---|
| committer | Sebastian Köhler <sebkoehler@whoami.org.uk> | 2013-03-20 03:40:31 +0100 |
| commit | 0131e1e00bc8ad35b030dfa6b8ab769b0657e174 (patch) | |
| tree | 23fe35256018a4b5c0ac41a5473f0f7fdc726917 | |
| parent | 8618e942e6c6de37dfebb9fbca992d173e8a8382 (diff) | |
| download | ngircd-0131e1e00bc8ad35b030dfa6b8ab769b0657e174.tar.gz ngircd-0131e1e00bc8ad35b030dfa6b8ab769b0657e174.zip | |
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.
| -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 6faf311a..21058a03 100644 --- a/src/ngircd/lists.c +++ b/src/ngircd/lists.c @@ -342,7 +342,7 @@ Lists_CheckReason(struct list_head *h, CLIENT *Client) while (e) { next = e->next; - if (Match(e->mask, Client_Mask(Client))) { + if (Match(e->mask, Client_MaskCloaked(Client))) { if (e->valid_until == 1) { /* Entry is valid only once, delete it */ LogDebug("Deleted \"%s\" from list (used).", |