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:
1 parent
d980b42b90
commit
4e31d49209
3 files changed
+14
-8
No files matched your search
@@ -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