diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-25 13:45:12 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-25 13:45:12 +0000 |
commit | c66706c610784a4875f38c7ce75a28f95e5ebb5e (patch) | |
tree | 8b60e2254bd68f0bdd31dd35a5e5432f57d8f6a4 | |
parent | f8d06e13c68a20228665e5798ed18198b2907f25 (diff) |
Fixed missing constructor on class connection
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1949 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | include/connection.h | 5 |
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; + } }; |