1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-07 16:43:14 +02:00

Make CAP commands case sensitive.

Suggested by Koragg in https://bugs.unrealircd.org/view.php?id=5263
This commit is contained in:
Bram Matthys
2019-05-10 08:57:16 +02:00
parent 872ebca6fa
commit 9f8e73dca7
+1 -1
View File
@@ -347,7 +347,7 @@ static struct clicap_cmd clicap_cmdtable[] = {
static int clicap_cmd_search(const char *command, struct clicap_cmd *entry)
{
return strcmp(command, entry->cmd);
return strcasecmp(command, entry->cmd);
}
CMD_FUNC(m_cap)