Add test for #1229 and actually fix it.

This commit is contained in:
Alexey Sokolov committed 2016-01-09 18:00:47 +00:00
1 parent 6a87ba3d4f
commit 1f226d2ade
7 files changed
+31 -15

No files matched your search

+1 -1
View File
@@ -384,7 +384,7 @@ void CClient::AcceptLogin(CUser& User) {
SetTimeout(CIRCNetwork::NO_TRAFFIC_TIMEOUT, TMO_READ);
SetSockName("USR::" + m_pUser->GetUserName());
SetEncoding(CZNC::Get().FixupEncoding(m_pUser->GetClientEncoding()));
SetEncoding(m_pUser->GetClientEncoding());
if (!m_sNetwork.empty()) {
m_pNetwork = m_pUser->FindNetwork(m_sNetwork);