mirror of
https://github.com/znc/znc.git
synced 2026-08-08 01:43:03 +02:00
Remove ident spoof from znc core
This commit is contained in:
@@ -66,18 +66,6 @@
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
|
||||
<div class="subsection half">
|
||||
<div class="inputlabel">ISpoofFile:</div>
|
||||
<div><input type="text" name="ispooffile" value="<? VAR ISpoofFile ?>" /></div>
|
||||
<br /><span class="info">Example: ~/.oidentd.conf</span>
|
||||
</div>
|
||||
|
||||
<div class="subsection half">
|
||||
<div class="inputlabel">ISpoofFormat:</div>
|
||||
<div><input type="text" name="ispoofformat" value="<? VAR ISpoofFormat ?>" /></div>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
|
||||
<div class="subsection half">
|
||||
<div class="inputlabel">Maximum Buffer Size:</div>
|
||||
<div><input type="text" name="maxbufsize" value="<? VAR MaxBufferSize ?>" /></div>
|
||||
|
||||
@@ -967,8 +967,6 @@ public:
|
||||
Tmpl["Action"] = "settings";
|
||||
Tmpl["Title"] = "Settings";
|
||||
Tmpl["StatusPrefix"] = CZNC::Get().GetStatusPrefix();
|
||||
Tmpl["ISpoofFile"] = CZNC::Get().GetISpoofFile();
|
||||
Tmpl["ISpoofFormat"] = CZNC::Get().GetISpoofFormat();
|
||||
Tmpl["MaxBufferSize"] = CString(CZNC::Get().GetMaxBufferSize());
|
||||
Tmpl["ConnectDelay"] = CString(CZNC::Get().GetConnectDelay());
|
||||
Tmpl["ServerThrottle"] = CString(CZNC::Get().GetServerThrottle());
|
||||
@@ -1059,8 +1057,6 @@ public:
|
||||
|
||||
CString sArg;
|
||||
sArg = WebSock.GetParam("statusprefix"); CZNC::Get().SetStatusPrefix(sArg);
|
||||
sArg = WebSock.GetParam("ispooffile"); CZNC::Get().SetISpoofFile(sArg);
|
||||
sArg = WebSock.GetParam("ispoofformat"); CZNC::Get().SetISpoofFormat(sArg);
|
||||
sArg = WebSock.GetParam("maxbufsize"); CZNC::Get().SetMaxBufferSize(sArg.ToUInt());
|
||||
sArg = WebSock.GetParam("connectdelay"); CZNC::Get().SetConnectDelay(sArg.ToUInt());
|
||||
sArg = WebSock.GetParam("serverthrottle"); CZNC::Get().SetServerThrottle(sArg.ToUInt());
|
||||
|
||||
Reference in New Issue
Block a user