mirror of
https://github.com/znc/znc.git
synced 2026-07-03 16:31:49 +02:00
No longer need Server6
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@652 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -936,14 +936,6 @@ bool CZNC::ParseConfig(const CString& sConfig) {
|
||||
} else if (sName.CaseCmp("Allow") == 0) {
|
||||
pUser->AddAllowedHost(sValue);
|
||||
continue;
|
||||
} else if (sName.CaseCmp("Server6") == 0) {
|
||||
CUtils::PrintAction("Adding ipv6 Server [" + sValue + "]");
|
||||
#ifdef HAVE_IPV6
|
||||
CUtils::PrintStatus(pUser->AddServer(sValue, true));
|
||||
#else
|
||||
CUtils::PrintStatus(false, "ZNC was not compiled with ipv6 support");
|
||||
#endif
|
||||
continue;
|
||||
} else if (sName.CaseCmp("Server") == 0) {
|
||||
CUtils::PrintAction("Adding Server [" + sValue + "]");
|
||||
CUtils::PrintStatus(pUser->AddServer(sValue));
|
||||
|
||||
Reference in New Issue
Block a user