From e8fffa350ed500ee063a1af5b105576e59ff669b Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 11 Apr 2004 16:38:53 +0000 Subject: Added better checking to packet sending (MUST receive an ack) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@530 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/connection.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/connection.h b/include/connection.h index 9a72e6d6b..c996e0abd 100644 --- a/include/connection.h +++ b/include/connection.h @@ -27,7 +27,7 @@ class packet : public classbase { public: long key; - short int id; + int id; short int type; char data[MAXBUF]; @@ -51,6 +51,7 @@ class connection : public classbase bool haspassed; int port; int registered; + short int state; time_t lastping; time_t signon; time_t idle_lastmsg; -- cgit v1.3.1-10-gc9f91