From f47f9d10f8aa3ace1f2d93d0aa6ab090f782328b Mon Sep 17 00:00:00 2001 From: Nakidai Date: Sun, 1 Feb 2026 18:09:54 +0300 Subject: Add ping system Now users will be kicked for inactivity o.o --- ircd.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ircd.h') diff --git a/ircd.h b/ircd.h index ef8dbc5..fcc6ddc 100644 --- a/ircd.h +++ b/ircd.h @@ -18,6 +18,7 @@ #define __IRCD_H__ #include +#include #include "config.h" @@ -55,6 +56,7 @@ struct Peer } modes; char buf[MESSAGE_MAX]; size_t recvd, channels_c; + time_t last, ping; }; struct Channel -- cgit 1.4.1