X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fusers.h;h=0fa51268d7bd191869412a461d53e1512730a0ef;hb=001861f5d2aca21531b0a20a46e44654a45a5522;hp=29db518b799a78460300a4e8f089e50d7ea0e525;hpb=58385dd458e927994957b6d603f7f9da3fc52e14;p=user%2Fhenk%2Fcode%2Finspircd.git 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.