- /** The users input buffer.
- * Used by the C recv() function.
- */
- char inbuf[MAXBUF];
-
- /** The last time the user was pinged by the core.
- * When this value is more than 120 seconds difference from 'time(NULL)', a ping is sent
- * to the client. If the user has an outstanding PING request the next time this
- * event occurs after 4 total minutes, they are disconnected.
- */
- time_t lastping;
-
- /** The users signon time.
- */
- time_t signon;
-
- /** The time the user last sent a message.
- * See also userrec::lastping and userrec::signon
- */
- time_t idle_lastmsg;
-
- /** True if the user replied to their last ping.
- * If this is true, the user can be sent another ping at the specified time, otherwise
- * they will be discnnected. See also userrec::lastping
- */
- time_t nping;
-
- /** Bit 1 is set if the user sent a NICK command, bit 2 is set if the user sent a USER command.
- * If both bits are set then the connection is awaiting MOTD. Sending of MOTD sets bit 3, and
- * makes the value of userrec::registered == 7, showing a fully established client session.
- */
- int registered;
-
- /** A list of the channels the user is currently on.
- * If any of these values are NULL, the record is not in use and may be associated with
- * a channel by the JOIN command. see RFC 1459.
- */