mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user