summaryrefslogtreecommitdiff
path: root/src/irc/bot/bot-users.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/bot/bot-users.h')
-rw-r--r--src/irc/bot/bot-users.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/irc/bot/bot-users.h b/src/irc/bot/bot-users.h
index ab498995..8023e9a6 100644
--- a/src/irc/bot/bot-users.h
+++ b/src/irc/bot/bot-users.h
@@ -32,6 +32,7 @@ typedef struct {
int not_flags; /* active not_flags based on current host mask,
botuser_find() updates this */
+ time_t last_modify; /* last time the user settings were modified */
} USER_REC;
int botuser_flags2value(const char *flags);
@@ -50,4 +51,6 @@ void botuser_set_mask_notflags(USER_REC *user, const char *mask, int not_flags);
void botuser_set_password(USER_REC *user, const char *password);
int botuser_verify_password(USER_REC *user, const char *password);
+void botuser_save(const char *fname);
+
#endif