Removed the mis-use of the fake module concept in WebMods.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2011 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
cflakes
2010-06-06 11:41:31 +00:00
parent a3ef9b2d40
commit f4b4eafc74
5 changed files with 23 additions and 56 deletions

View File

@@ -111,10 +111,7 @@ void CIncomingConnection::ReadLine(const CString& sLine) {
return;
}
CModule* pMod = new CModule(NULL, "<webmod>", "");
pMod->SetFake(true);
pSock = new CWebSock(pMod);
pSock = new CWebSock();
CZNC::Get().GetManager().SwapSockByAddr(pSock, this);
// And don't forget to give it some sane name / timeout