mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
CUser::GetIRCSock() only returns a member var, so it can be moved to the header
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1130 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
8
User.cpp
8
User.cpp
@@ -838,14 +838,6 @@ bool CUser::CheckPass(const CString& sPass) const {
|
||||
return (CClient*) CZNC::Get().GetManager().FindSockByName(sSockName);
|
||||
}*/
|
||||
|
||||
CIRCSock* CUser::GetIRCSock() {
|
||||
return m_pIRCSock;
|
||||
}
|
||||
|
||||
const CIRCSock* CUser::GetIRCSock() const {
|
||||
return m_pIRCSock;
|
||||
}
|
||||
|
||||
CString CUser::GetLocalIP() {
|
||||
CIRCSock* pIRCSock = GetIRCSock();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user