Fix all those warnings from -Wshadow

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@964 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-02-19 20:25:21 +00:00
parent 0dfaa1d706
commit 8f22dcc60d
9 changed files with 61 additions and 57 deletions
+2 -2
View File
@@ -713,7 +713,7 @@ bool CZNC::WriteNewConfig(const CString& sConfig) {
do {
CString sHost, sPass;
bool bSSL = false;
unsigned int uPort = 0;
uPort = 0;
while(!CUtils::GetInput("IRC server", sHost, "", "host only") || !CServer::IsValidHostName(sHost)) ;
while(!CUtils::GetNumInput("[" + sHost + "] Port", uPort, 1, 65535, 6667)) ;
@@ -938,7 +938,7 @@ bool CZNC::DoRehash(CString& sError)
sValue.Trim();
if (sLine.Left(1) == "/") {
CString sTag = sLine.substr(1);
sTag = sTag.substr(1);
if (pUser) {
if (pChan) {