Remove KeepNick

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1151 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-07-24 11:34:11 +00:00
parent 3ec3f07523
commit 03e34ac6e6
11 changed files with 5 additions and 146 deletions

View File

@@ -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());