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 f915a6e5f..098762eca 100644
--- a/include/users.h
+++ b/include/users.h
@@ -167,6 +167,12 @@ class userrec : public connection
*/
unsigned long pingmax;
+ /** Password specified by the user when they registered.
+ * This is stored even if the <connect> block doesnt need a password, so that
+ * modules may check it.
+ */
+ char password[MAXBUF];
+
userrec();
virtual ~userrec() { }