1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 15:26:37 +02:00

core: make filter names case sensitive (issue #1872)

This commit is contained in:
Sébastien Helleu
2023-01-26 23:26:43 +01:00
parent 7a8ce6c9ae
commit 8744fdfaf3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -292,7 +292,7 @@ gui_filter_find_pos (struct t_gui_filter *filter)
for (ptr_filter = gui_filters; ptr_filter;
ptr_filter = ptr_filter->next_filter)
{
if (string_strcasecmp (filter->name, ptr_filter->name) < 0)
if (strcmp (filter->name, ptr_filter->name) < 0)
return ptr_filter;
}