mirror of
https://github.com/znc/znc.git
synced 2026-05-01 02:52:30 +02:00
Socket.cpp: Add missing #ifdef _MODULES
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1736 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -28,6 +28,8 @@ unsigned int CSockManager::GetAnonConnectionCount(const CString &sIP) const {
|
||||
return ret;
|
||||
}
|
||||
|
||||
#ifdef _MODULES
|
||||
|
||||
/////////////////// CSocket ///////////////////
|
||||
CSocket::CSocket(CModule* pModule) : CZNCSock() {
|
||||
m_pModule = pModule;
|
||||
@@ -130,3 +132,5 @@ bool CSocket::PutModNotice(const CString& sLine, const CString& sIdent, const CS
|
||||
void CSocket::SetModule(CModule* p) { m_pModule = p; }
|
||||
CModule* CSocket::GetModule() const { return m_pModule; }
|
||||
/////////////////// !CSocket ///////////////////
|
||||
|
||||
#endif // _MODULES
|
||||
|
||||
Reference in New Issue
Block a user