summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2025-04-24 11:51:37 +0100
committerSadie Powell <sadie@witchery.services>2025-04-24 11:59:21 +0100
commit1630ccedb11842dbe56d8ce2b9e9f54a53b01b8c (patch)
tree26d65205ae2e66e86e382eafa42698e00d988cfc /include/users.h
parent36d69b1e5c126ed490d655c500832947665c07d0 (diff)
Remove some double lookups in User::BadPassword.
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/users.h b/include/users.h
index 7fd096c8c..2a5823cc5 100644
--- a/include/users.h
+++ b/include/users.h
@@ -50,7 +50,7 @@ protected:
Serialize::Reference<NickCore> nc;
/* # of invalid password attempts */
- unsigned short invalid_pw_count;
+ unsigned invalid_pw_count;
/* Time of last invalid password */
time_t invalid_pw_time;