Use GetIRCSock() instead of m_pIRCSock directly

This patch makes the code in CClient use a wrapper function for accessing the
IRC socket. Wait and see for why I do this. ;)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1724 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-01-28 19:40:38 +00:00
parent f24b1bb890
commit b50d944bb9
3 changed files with 16 additions and 14 deletions
+2
View File
@@ -130,6 +130,8 @@ public:
void SetNick(const CString& s);
CUser* GetUser() const { return m_pUser; }
const CIRCSock* GetIRCSock() const { return m_pIRCSock; }
CIRCSock* GetIRCSock() { return m_pIRCSock; }
private:
protected: