]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/connection.h
Removed some debug notices that were mistakenly in the DEFAULT loglevel
[user/henk/code/inspircd.git] / include / connection.h
index ab7bd81e1f68c46fce734c801cfdeee1c19c0316..db76859d701dba0a1b1f265a9e822279a097d98b 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  Inspire is copyright (C) 2002-2004 ChatSpike-Dev.
+ *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
  *                       E-mail:
  *                <brain@chatspike.net>
  *               <Craig@chatspike.net>
@@ -44,11 +44,7 @@ class connection : public Extensible
        /** Hostname of connection. Not used if this is a serverrec
         */
        char host[160];
-       
-       /** IP of connection.
-        */
-       char ip[16];
-       
+
        /** Stats counter for bytes inbound
         */
        int bytes_in;
@@ -97,7 +93,10 @@ class connection : public Extensible
        
        /** Default constructor
         */
-       connection();
+       connection()
+       {
+               this->fd = -1;
+       }
 };