fixed an issue where channels with uppercase names were not being recognized
This commit is contained in:
parent
c8e36aa91e
commit
e95edef44e
@ -2493,7 +2493,7 @@ find_name_in_lists(char *inName, struct list *names)
|
|||||||
for (index = 0; index < names->count; index++)
|
for (index = 0; index < names->count; index++)
|
||||||
{
|
{
|
||||||
name = (char *)list_get_item(names, index);
|
name = (char *)list_get_item(names, index);
|
||||||
if ( (name != 0) && (g_strncmp(name, inName, MAX_CHANNEL_NAME) == 0) )
|
if ( (name != 0) && (g_strncasecmp(name, inName, MAX_CHANNEL_NAME) == 0) )
|
||||||
{
|
{
|
||||||
reply = index;
|
reply = index;
|
||||||
break; /* stop loop - item found*/
|
break; /* stop loop - item found*/
|
||||||
|
Loading…
Reference in New Issue
Block a user