Fix --disable-modules, someone forgot an #ifdef :(

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1268 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-10-31 19:10:51 +00:00
parent a10acfeddc
commit be72295337
+2
View File
@@ -235,7 +235,9 @@ public:
virtual Csock* GetSockObj(const CString& sHost, unsigned short uPort) {
CClient *pClient = new CClient(sHost, uPort);
#ifdef _MODULES
CZNC::Get().GetModules().OnClientConnect(pClient, sHost, uPort);
#endif
return pClient;
}