Added "Connect to IRC & automatically re-connect" checkbox to webadmin.

Sets the internal "automatically connect" flag just like /msg *status connect and
/msg *status disconnect do. Idea by Advis0r, thanks!


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1851 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
cflakes
2010-03-30 09:16:09 +00:00
parent 72293bed64
commit bb79dd338f
3 changed files with 10 additions and 0 deletions

View File

@@ -445,6 +445,7 @@ bool CUser::Clone(const CUser& User, CString& sErrorRet, bool bCloneChans) {
// !CTCP Replies
// Flags
SetIRCConnectEnabled(User.GetIRCConnectEnabled());
SetKeepBuffer(User.KeepBuffer());
SetMultiClients(User.MultiClients());
SetBounceDCCs(User.BounceDCCs());