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
5572f43834
commit
fca7f870c8
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,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