mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
CAuthBase: Use a Csock* instead of a CString "sRemoteIP"
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1511 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -1160,7 +1160,7 @@ CUser* CWebAdminSock::GetNewUser(CString& sPageRet, CUser* pUser) {
|
||||
|
||||
CWebAdminAuth::CWebAdminAuth(CWebAdminSock* pWebAdminSock, const CString& sUsername,
|
||||
const CString& sPassword)
|
||||
: CAuthBase(sUsername, sPassword, pWebAdminSock->GetRemoteIP()) {
|
||||
: CAuthBase(sUsername, sPassword, pWebAdminSock) {
|
||||
m_pWebAdminSock = pWebAdminSock;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user