mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-12 08:40:19 +00:00
Fix issues removing autojoin channels
- Makes remove case insensitive - Fixes crashing when channel not found
This commit is contained in:
@@ -842,7 +842,7 @@ servlist_favchan_find (ircnet *net, char *channel, int *pos)
|
||||
while (list)
|
||||
{
|
||||
favchan = list->data;
|
||||
if (strcmp (favchan->name, channel) == 0)
|
||||
if (g_ascii_strcasecmp (favchan->name, channel) == 0)
|
||||
{
|
||||
if (pos)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user