about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/ngircd/lists.c2
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).",