mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 05:16:38 +02:00
trigger: make trigger names/options/types/return codes/post actions case sensitive (issue #1872)
This commit is contained in:
@@ -1095,11 +1095,8 @@ trigger_command_trigger (const void *pointer, void *data,
|
||||
{
|
||||
for (j = 0; trigger_config_default_list[j][0]; j++)
|
||||
{
|
||||
if (weechat_strcasecmp (trigger_config_default_list[j][0],
|
||||
argv[i]) == 0)
|
||||
{
|
||||
if (strcmp (trigger_config_default_list[j][0], argv[i]) == 0)
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (trigger_config_default_list[j][0])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user