extensions/extb_ssl.c: make certfp parameter case-insensitive
I had the idea that maybe these should be case-sensitive because some encodings (like Base-64) are. But it turns out it's better to prioritise not breaking existing configurations / channel mode lists, and just revisit this in future maybe. [ci skip]
This commit is contained in:
parent
e0a8d121fa
commit
6cfb19943a
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ static int eb_ssl(const char *data, struct Client *client_p,
|
|||
if (EmptyString(client_p->certfp))
|
||||
return EXTBAN_NOMATCH;
|
||||
|
||||
if (strcmp(data, client_p->certfp) != 0)
|
||||
if (irccmp(data, client_p->certfp) != 0)
|
||||
return EXTBAN_NOMATCH;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue