summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/users.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index 29db518b7..0fa51268d 100644
--- a/include/users.h
+++ b/include/users.h
@@ -556,6 +556,11 @@ class CoreExport User : public connection
*/
char awaymsg[MAXAWAY+1];
+ /** Time the user last went away.
+ * This is ONLY RELIABLE if user IS_AWAY()!
+ */
+ time_t awaytime;
+
/** Timestamp of current time + connection class timeout.
* This user must send USER/NICK before this timestamp is
* reached or they will be disconnected.