mirror of
https://github.com/znc/znc.git
synced 2026-05-08 22:34:45 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user