summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index ca9c3f557..c08be8c6f 100644
--- a/include/users.h
+++ b/include/users.h
@@ -149,6 +149,12 @@ struct CoreExport ConnectClass : public refcountbase
*/
insp::flat_set<int> ports;
+ /** If non-empty then the password a user must specify in PASS to be assigned to this class. */
+ std::string password;
+
+ /** If non-empty then the hash algorithm that the password field is hashed with. */
+ std::string passwordhash;
+
/** Create a new connect class with no settings.
*/
ConnectClass(ConfigTag* tag, char type, const std::string& mask);