Add test for #1229 and actually fix it.

This commit is contained in:
Alexey Sokolov
2016-01-09 18:00:47 +00:00
parent 6a87ba3d4f
commit 1f226d2ade
7 changed files with 31 additions and 15 deletions
+2 -4
View File
@@ -45,10 +45,8 @@ class CZNCSock : public Csock {
m_ssTrustedFingerprints = ssFPs;
}
#ifndef HAVE_ICU
// Don't fail to compile when ICU is not enabled
void SetEncoding(const CString&) {}
#endif
void SetEncoding(const CString&);
virtual CString GetRemoteIP() const { return Csock::GetRemoteIP(); }
protected: