WebMods: Verify a session belongs to the remote IP address

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2262 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2011-01-14 20:22:23 +00:00
parent 577a097e32
commit 4556cc7c9b
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -39,6 +39,7 @@ public:
~CWebSession();
const CString& GetId() const { return m_sId; }
const CString& GetIP() const { return m_sIP; }
CUser* GetUser() const { return m_pUser; }
bool IsLoggedIn() const { return m_pUser != NULL; }
bool IsAdmin() const;