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