mirror of
https://github.com/znc/znc.git
synced 2026-08-07 17:33:34 +02:00
Disable legacy encoding mode when modpython is loaded.
Python is not happy when using non-unicode text as str. Fix #1229
This commit is contained in:
@@ -233,6 +233,11 @@ class CZNC {
|
||||
void PauseConnectQueue();
|
||||
void ResumeConnectQueue();
|
||||
|
||||
void ForceEncoding();
|
||||
void UnforceEncoding();
|
||||
bool IsForcingEncoding() const;
|
||||
CString FixupEncoding(const CString& sEncoding) const;
|
||||
|
||||
// Never call this unless you are CConnectQueueTimer::~CConnectQueueTimer()
|
||||
void LeakConnectQueueTimer(CConnectQueueTimer* pTimer);
|
||||
|
||||
@@ -289,6 +294,7 @@ class CZNC {
|
||||
std::list<CIRCNetwork*> m_lpConnectQueue;
|
||||
CConnectQueueTimer* m_pConnectQueueTimer;
|
||||
unsigned int m_uiConnectPaused;
|
||||
unsigned int m_uiForceEncoding;
|
||||
TCacheMap<CString> m_sConnectThrottle;
|
||||
bool m_bProtectWebSessions;
|
||||
bool m_bHideVersion;
|
||||
|
||||
Reference in New Issue
Block a user