mirror of
https://github.com/znc/znc.git
synced 2026-08-08 01:43:03 +02:00
CUser: add API for removing and clearing allowed hosts
This commit is contained in:
@@ -63,6 +63,8 @@ public:
|
||||
CConfig ToConfig() const;
|
||||
bool CheckPass(const CString& sPass) const;
|
||||
bool AddAllowedHost(const CString& sHostMask);
|
||||
bool RemAllowedHost(const CString& sHostMask);
|
||||
void ClearAllowedHosts();
|
||||
bool IsHostAllowed(const CString& sHostMask) const;
|
||||
bool IsValid(CString& sErrMsg, bool bSkipPass = false) const;
|
||||
static bool IsValidUserName(const CString& sUserName);
|
||||
|
||||
Reference in New Issue
Block a user