diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-30 15:33:33 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-03-30 15:33:33 +0000 |
commit | d48726ce802019f2e1573ebef7ae9f50a14f0a31 (patch) | |
tree | 4248a0787350891b10b93e797cee7f5f112f0df9 /include | |
parent | 6c31213a38a5f136bebe4cdbc9dea66031e9b26c (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/users.h | 5 |
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. |