mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-25 18:52:22 -05:00
Also verify encoding read from servlist.conf
This commit is contained in:
parent
9968bb31a4
commit
5dde0d7c6d
@ -1050,7 +1050,7 @@ servlist_load (void)
|
|||||||
net->logintype = atoi (buf + 2);
|
net->logintype = atoi (buf + 2);
|
||||||
break;
|
break;
|
||||||
case 'E':
|
case 'E':
|
||||||
net->encoding = g_strdup (buf + 2);
|
net->encoding = servlist_check_encoding (buf + 2) ? g_strdup (buf + 2) : g_strdup ("UTF-8");
|
||||||
break;
|
break;
|
||||||
case 'F':
|
case 'F':
|
||||||
net->flags = atoi (buf + 2);
|
net->flags = atoi (buf + 2);
|
||||||
|
Loading…
Reference in New Issue
Block a user