JoinChans() on new channel

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@521 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-09-22 07:11:52 +00:00
parent b27149a6e3
commit 598268ad1a

View File

@@ -581,6 +581,8 @@ 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;