mirror of
https://github.com/znc/znc.git
synced 2026-08-09 18:32:55 +02:00
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:
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user