Rename "vhost" to "bindhost"

"virtual host" seems to be confusing to users since they wonder why
i.am.superman doesn't work. Let's rename this to "bindhost" and perhaps it
becomes clearer what this setting does.

Thanks to SilverLeo!


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2113 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-08-30 08:58:29 +00:00
parent b2c3c0707a
commit 341263f9ec
16 changed files with 184 additions and 182 deletions
+3 -3
View File
@@ -21,7 +21,7 @@ CIRCSock::CIRCSock(CUser* pUser) : CZNCSock() {
m_bUHNames = false;
EnableReadLine();
m_Nick.SetIdent(pUser->GetIdent());
m_Nick.SetHost(pUser->GetVHost());
m_Nick.SetHost(pUser->GetBindHost());
m_uMaxNickLen = 9;
m_sPerms = "*!@%+";
@@ -959,7 +959,7 @@ void CIRCSock::SockError(int iErrno) {
CString sError;
if (iErrno == EDOM) {
sError = "Your VHost could not be resolved";
sError = "Your bind host could not be resolved";
} else if (iErrno == EADDRNOTAVAIL) {
// Csocket uses this if it can't resolve the dest host name
// ...but it also does generate this if bind() fails -.-
@@ -967,7 +967,7 @@ void CIRCSock::SockError(int iErrno) {
if (GetBindHost().empty())
sError += " (Is your IRC server's host name valid?)";
else
sError += " (Is your IRC server's host name and vhost valid?)";
sError += " (Is your IRC server's host name and znc bind host valid?)";
} else {
sError = strerror(iErrno);
}