about summary refs log tree commit diff
path: root/bounce.h
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-10-03 15:41:46 -0400
committerJune McEnroe <june@causal.agency>2021-10-03 15:41:46 -0400
commiteb97b502ada1c0b4628de99f2c0c4c9991caaaca (patch)
tree63145ec1c341a19587ae26d9abefdc8ca9970cb3 /bounce.h
parentLog IRC to standard output with -v (diff)
downloadpounce-eb97b502ada1c0b4628de99f2c0c4c9991caaaca.tar.gz
pounce-eb97b502ada1c0b4628de99f2c0c4c9991caaaca.zip
Track client idle time
Bumped on both send and receive.
Diffstat (limited to '')
-rw-r--r--bounce.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bounce.h b/bounce.h
index af3bcc3..4ee1c7f 100644
--- a/bounce.h
+++ b/bounce.h
@@ -219,6 +219,7 @@ struct Client {
 	int sock;
 	struct tls *tls;
 	time_t time;
+	time_t idle;
 	enum Need need;
 	enum Cap caps;
 	size_t consumer;