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:
1 parent
5c588352d9
commit
da8c892d4f
4 files changed
+14
-4
No files matched your search
@@ -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