mirror of
https://github.com/znc/znc.git
synced 2026-05-09 14:54:53 +02:00
Add a new DCCVHost config option
If this option is set to an ip address, this one is used as the local address for DCC connections. This can e.g. be used to "fix" DCC bouncing with ipv6 connections. Without it, this just more or less fails badly. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1647 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -1312,6 +1312,9 @@ bool CZNC::DoRehash(CString& sError)
|
||||
} else if (sName.Equals("VHost")) {
|
||||
pUser->SetVHost(sValue);
|
||||
continue;
|
||||
} else if (sName.Equals("DCCVHost")) {
|
||||
pUser->SetDCCVHost(sValue);
|
||||
continue;
|
||||
} else if (sName.Equals("Allow")) {
|
||||
pUser->AddAllowedHost(sValue);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user