From d48726ce802019f2e1573ebef7ae9f50a14f0a31 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 30 Mar 2008 15:33:33 +0000 Subject: AWAY notification for WATCH. Numerics are now sent out when a user goes away (or returns from AWAY), as well as in WATCH L (if the user is online and away). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9227 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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. -- cgit v1.2.3