From c66706c610784a4875f38c7ce75a28f95e5ebb5e Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 25 Nov 2005 13:45:12 +0000 Subject: Fixed missing constructor on class connection git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1949 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/connection.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') 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; + } }; -- cgit v1.2.3