mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-11-07 00:35:39 +00:00
Fix loading encoding from network list on connect
- Fix setting new encoding when switching networks - Ignore ports when looking for network by hostname - Only set UTF-8 when nothing explicitly set Fixes #1628
This commit is contained in:
1 parent
ebb0fd6905
commit
7c078db879
3 files changed
+17
-6
No files matched your search
+2
-1
@@ -1728,7 +1728,8 @@ server_set_defaults (server *serv)
|
||||
serv->nick_modes = g_strdup ("ohv");
|
||||
serv->sasl_mech = MECH_PLAIN;
|
||||
|
||||
server_set_encoding (serv, "UTF-8");
|
||||
if (!serv->encoding)
|
||||
server_set_encoding (serv, "UTF-8");
|
||||
|
||||
serv->nickcount = 1;
|
||||
serv->end_of_motd = FALSE;
|
||||
|
||||
Reference in new issue
Block a user