Match list patterns case-insensitive

The invite-, ban-, and except lists are affected by this change,
as well as G-Lines an K-Lines.

Problem pointed out by "wowaname" on #ngircd, thanks!
This commit is contained in:
Alexander Barton 2014-10-06 21:40:39 +02:00
parent 7d7eb735f0
commit be88707027
1 changed files with 1 additions and 1 deletions

View File

@ -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) {