mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 07:16:37 +02:00
core, plugins: make commands, hook command_run, completions and aliases case sensitive (issue #1872)
This commit is contained in:
@@ -65,7 +65,7 @@ exec_search_color (const char *color)
|
||||
|
||||
for (i = 0; i < EXEC_NUM_COLORS; i++)
|
||||
{
|
||||
if (weechat_strcasecmp (exec_color_string[i], color) == 0)
|
||||
if (weechat_strcmp (exec_color_string[i], color) == 0)
|
||||
return i;
|
||||
}
|
||||
|
||||
@@ -724,7 +724,7 @@ exec_debug_dump_cb (const void *pointer, void *data,
|
||||
(void) type_data;
|
||||
|
||||
if (!signal_data
|
||||
|| (weechat_strcasecmp ((char *)signal_data, EXEC_PLUGIN_NAME) == 0))
|
||||
|| (weechat_strcmp ((char *)signal_data, EXEC_PLUGIN_NAME) == 0))
|
||||
{
|
||||
weechat_log_printf ("");
|
||||
weechat_log_printf ("***** \"%s\" plugin dump *****",
|
||||
|
||||
Reference in New Issue
Block a user