Add test for #1229 and actually fix it.
This commit is contained in:
1 parent
6a87ba3d4f
commit
1f226d2ade
7 files changed
+31
-15
No files matched your search
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user