summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-11 16:38:53 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-11 16:38:53 +0000
commite8fffa350ed500ee063a1af5b105576e59ff669b (patch)
tree6b2db103c83cb15d557b3756fabcf0c255f76496 /include
parente32ed2b7288f518a3cd6d42330875ed278a4a4fd (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/connection.h3
1 files changed, 2 insertions, 1 deletions
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;