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:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user