mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-10-28 06:15:38 +00:00
Also verify encoding read from servlist.conf
This commit is contained in:
1 parent
9968bb31a4
commit
5dde0d7c6d
1 file changed
+1
-1
@@ -1050,7 +1050,7 @@ servlist_load (void)
|
||||
net->logintype = atoi (buf + 2);
|
||||
break;
|
||||
case 'E':
|
||||
net->encoding = g_strdup (buf + 2);
|
||||
net->encoding = servlist_check_encoding (buf + 2) ? g_strdup (buf + 2) : g_strdup ("UTF-8");
|
||||
break;
|
||||
case 'F':
|
||||
net->flags = atoi (buf + 2);
|
||||
|
||||
Reference in new issue
Block a user