summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/services.h2
-rw-r--r--include/users.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/services.h b/include/services.h
index 339efa151..f8e8334bf 100644
--- a/include/services.h
+++ b/include/services.h
@@ -915,7 +915,7 @@ struct channel_ {
EList *invites;
struct c_userlist *users;
- int16 usercount;
+ uint16 usercount;
BanData *bd;
diff --git a/include/users.h b/include/users.h
index c8fc7e343..315a6c508 100644
--- a/include/users.h
+++ b/include/users.h
@@ -49,7 +49,7 @@ class User : public Extensible
struct u_chanlist *chans; /* Channels user has joined */
struct u_chaninfolist *founder_chans; /* Channels user has identified for */
- short invalid_pw_count; /* # of invalid password attempts */
+ unsigned short invalid_pw_count; /* # of invalid password attempts */
time_t invalid_pw_time; /* Time of last invalid password */
time_t lastmemosend; /* Last time MS SEND command used */