mirror of
https://github.com/znc/znc.git
synced 2026-08-10 19:02:51 +02:00
CUser::Clone() didn't handle the JoinTries and TimezoneOffset options *fix*
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1005 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -276,6 +276,7 @@ bool CUser::Clone(const CUser& User, CString& sErrorRet) {
|
||||
SetQuitMsg(User.GetQuitMsg());
|
||||
SetDefaultChanModes(User.GetDefaultChanModes());
|
||||
SetBufferCount(User.GetBufferCount());
|
||||
SetJoinTries(User.JoinTries());
|
||||
|
||||
// Allowed Hosts
|
||||
m_ssAllowedHosts.clear();
|
||||
@@ -411,6 +412,7 @@ bool CUser::Clone(const CUser& User, CString& sErrorRet) {
|
||||
SetTimestampAppend(User.GetTimestampAppend());
|
||||
SetTimestampPrepend(User.GetTimestampPrepend());
|
||||
SetTimestampFormat(User.GetTimestampFormat());
|
||||
SetTimezoneOffset(User.GetTimezoneOffset());
|
||||
// !Flags
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user