X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Flists.c;h=247344e508a6e3daf3fc164d1e47ddbdc0e98152;hp=022e305eff9a7f61c7b2cd573a5f96fda4b5223d;hb=be887070273c47a07c9bf488630f6fb707976f67;hpb=7d7eb735f0c8b541e7809a68cb49174605147904 diff --git a/src/ngircd/lists.c b/src/ngircd/lists.c index 022e305e..247344e5 100644 --- a/src/ngircd/lists.c +++ b/src/ngircd/lists.c @@ -326,7 +326,7 @@ Lists_CheckReason(struct list_head *h, CLIENT *Client, char *reason, size_t len) while (e) { next = e->next; - if (Match(e->mask, Client_MaskCloaked(Client))) { + if (MatchCaseInsensitive(e->mask, Client_MaskCloaked(Client))) { if (len && e->reason) strlcpy(reason, e->reason, len); if (e->valid_until == 1) {