Module: ngircd.git Branch: master Commit: 0131e1e00bc8ad35b030dfa6b8ab769b0657e174 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=0131e...
Author: Sebastian Köhler sebkoehler@whoami.org.uk Date: Wed Mar 20 03:40:31 2013 +0100
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.
---
src/ngircd/lists.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ngircd/lists.c b/src/ngircd/lists.c index 6faf311..21058a0 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).",