mirror of
https://github.com/znc/znc.git
synced 2026-05-04 04:22:37 +02:00
Remove KeepNick
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1151 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -893,11 +893,6 @@ bool CWebAdminSock::UserPage(CString& sPageRet, CUser* pUser) {
|
||||
o2["DisplayName"] = "Auto Cycle";
|
||||
if (!pUser || pUser->AutoCycle()) { o2["Checked"] = "true"; }
|
||||
|
||||
CTemplate& o3 = m_Template.AddRow("OptionLoop");
|
||||
o3["Name"] = "keepnick";
|
||||
o3["DisplayName"] = "Keep Nick";
|
||||
if (!pUser || pUser->GetKeepNick()) { o3["Checked"] = "true"; }
|
||||
|
||||
CTemplate& o4 = m_Template.AddRow("OptionLoop");
|
||||
o4["Name"] = "multiclients";
|
||||
o4["DisplayName"] = "Multi Clients";
|
||||
@@ -1115,7 +1110,6 @@ CUser* CWebAdminSock::GetNewUser(CString& sPageRet, CUser* pUser) {
|
||||
pNewUser->SetMultiClients(GetParam("multiclients").ToBool());
|
||||
pNewUser->SetBounceDCCs(GetParam("bouncedccs").ToBool());
|
||||
pNewUser->SetAutoCycle(GetParam("autocycle").ToBool());
|
||||
pNewUser->SetKeepNick(GetParam("keepnick").ToBool());
|
||||
pNewUser->SetUseClientIP(GetParam("useclientip").ToBool());
|
||||
pNewUser->SetTimestampAppend(GetParam("appendtimestamp").ToBool());
|
||||
pNewUser->SetTimestampPrepend(GetParam("prependtimestamp").ToBool());
|
||||
|
||||
Reference in New Issue
Block a user