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:
psychon
2008-07-14 08:16:43 +00:00
parent 86924339a3
commit 7059bf02f6
2 changed files with 2 additions and 10 deletions

View File

@@ -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();