mirror of
https://github.com/znc/znc.git
synced 2026-08-05 08:23:12 +02:00
const correctness fixes
This commit is contained in:
+1
-1
@@ -181,7 +181,7 @@ void CHTTPSock::ReadLine(const CString& sData) {
|
||||
}
|
||||
}
|
||||
|
||||
CString CHTTPSock::GetRemoteIP() {
|
||||
CString CHTTPSock::GetRemoteIP() const {
|
||||
if (!m_sForwardedIP.empty()) {
|
||||
return m_sForwardedIP;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user