summaryrefslogtreecommitdiff
path: root/include/connection.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-25 13:45:12 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-25 13:45:12 +0000
commitc66706c610784a4875f38c7ce75a28f95e5ebb5e (patch)
tree8b60e2254bd68f0bdd31dd35a5e5432f57d8f6a4 /include/connection.h
parentf8d06e13c68a20228665e5798ed18198b2907f25 (diff)
Fixed missing constructor on class connection
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1949 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/connection.h')
-rw-r--r--include/connection.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/connection.h b/include/connection.h
index ab7bd81e1..2cf6d6aa8 100644
--- a/include/connection.h
+++ b/include/connection.h
@@ -97,7 +97,10 @@ class connection : public Extensible
/** Default constructor
*/
- connection();
+ connection()
+ {
+ this->fd = -1;
+ }
};