Add a config option 'MaxJoins' to limit the number of joins ZNC does at once

This should hopefully fix a couple of 'Excess flood' problems we were having.

Thanks to SilverLeo for finally writing this :P


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1177 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-08-29 15:06:08 +00:00
parent 5c588352d9
commit da8c892d4f
4 changed files with 14 additions and 4 deletions

View File

@@ -733,8 +733,6 @@ bool CWebAdminSock::ChanPage(CString& sPageRet, CChan* pChan) {
}
}
m_pUser->JoinChans();
if (!CZNC::Get().WriteConfig()) {
GetErrorPage(sPageRet, "Channel added/modified, but config was not written");
return true;